.. _feature-automatic-registration-of-accessiteminterface-1777020217: ======================================================== Feature: Automatic registration of `AccessItemInterface` ======================================================== Description =========== `EXT:deepltranslate_core` provides the :php-short:`\WebVision\Deepltranslate\Core\Access\AccessItemInterface` to define access subtypes to `use as Custom Permission Options `_ grouped as `deepltranslate`. These items are now automatically registered through the Symfony Dependency Injection container by simply providing autoconfigured classes implementing :php-short:`\WebVision\Deepltranslate\Core\Access\AccessItemInterface`. No manual registration required anymore. .. note:: See also `deprecated AccessRegistry methods `_ to deal with deprecated methods and avoid deprecation log entries. Example ------- Implement custom access class: .. code-block:: php :caption: EXT:my_ext/Classes/Access/CustomAccess.php