diff --git a/core/includes/entity.inc b/core/includes/entity.inc index 70e8019..784557e 100644 --- a/core/includes/entity.inc +++ b/core/includes/entity.inc @@ -147,7 +147,7 @@ function entity_revision_delete($entity_type, $revision_id) { * Drupal\Core\Entity\Sql\SqlContentEntityStorage is used for content entities * and Drupal\Core\Config\Entity\ConfigEntityStorage for config entities. Entity * types can specify that a different class should be used by setting the - * "controllers['storage']" key in the entity plugin annotation. These classes + * "handlers['storage']" key in the entity plugin annotation. These classes * can either implement the Drupal\Core\Entity\EntityStorageInterface * interface, or, most commonly, extend the * Drupal\Core\Entity\Sql\SqlContentEntityStorage class. diff --git a/core/lib/Drupal/Core/Config/NullStorage.php b/core/lib/Drupal/Core/Config/NullStorage.php index 6777caa..78a0f61 100644 --- a/core/lib/Drupal/Core/Config/NullStorage.php +++ b/core/lib/Drupal/Core/Config/NullStorage.php @@ -10,7 +10,7 @@ /** * Defines a stub storage. * - * This storage is always empty; the controller reads and writes nothing. + * This storage is always empty; the handler reads and writes nothing. * * The stub implementation is needed for synchronizing configuration during * installation of a module, in which case all configuration being shipped with diff --git a/core/lib/Drupal/Core/Entity/Controller/EntityController.php b/core/lib/Drupal/Core/Entity/Controller/EntityController.php index 0af9638..cf03c6b 100644 --- a/core/lib/Drupal/Core/Entity/Controller/EntityController.php +++ b/core/lib/Drupal/Core/Entity/Controller/EntityController.php @@ -35,7 +35,7 @@ class EntityController implements ContainerInjectionInterface { protected $entityManager; /** - * Constructs a new EntityController. + * Constructs a new EntityHandler. * * @param \Drupal\Core\Entity\EntityManagerInterface $entity_manager * The entity manager. diff --git a/core/lib/Drupal/Core/Entity/Controller/EntityListController.php b/core/lib/Drupal/Core/Entity/Controller/EntityListController.php index 1c7e746..1e9fcc3 100644 --- a/core/lib/Drupal/Core/Entity/Controller/EntityListController.php +++ b/core/lib/Drupal/Core/Entity/Controller/EntityListController.php @@ -10,7 +10,7 @@ use Drupal\Core\Controller\ControllerBase; /** - * Defines a generic controller to list entities. + * Defines a generic handler to list entities. */ class EntityListController extends ControllerBase { @@ -28,4 +28,3 @@ public function listing($entity_type) { } } - diff --git a/core/lib/Drupal/Core/Entity/entity.api.php b/core/lib/Drupal/Core/Entity/entity.api.php index e8881fe..b7b38fa 100644 --- a/core/lib/Drupal/Core/Entity/entity.api.php +++ b/core/lib/Drupal/Core/Entity/entity.api.php @@ -381,9 +381,9 @@ * an object to the controller for the route. * - defaults: For entity form routes, use _entity_form rather than the generic * _controller or _form. The value is composed of the entity type machine name - * and a form controller type from the entity annotation (see @ref define - * above more more on controllers and annotation). So, in this example, - * block.default refers to the 'default' form controller on the block entity + * and a form handler type from the entity annotation (see @ref define + * above more more on handlers and annotation). So, in this example, + * block.default refers to the 'default' form handler on the block entity * type, whose annotation contains: * @code * handlers = { diff --git a/core/lib/Drupal/Core/Field/FieldItemInterface.php b/core/lib/Drupal/Core/Field/FieldItemInterface.php index 1053811..d334546 100644 --- a/core/lib/Drupal/Core/Field/FieldItemInterface.php +++ b/core/lib/Drupal/Core/Field/FieldItemInterface.php @@ -71,7 +71,7 @@ public static function mainPropertyName(); * - columns: An array of Schema API column specifications, keyed by column * name. The columns need to be a subset of the properties defined in * propertyDefinitions(). The 'not null' property is ignored if present, - * as it is determined automatically by the storage controller depending + * as it is determined automatically by the storage handler depending * on the table layout and the property definitions. It is recommended to * avoid having the column definitions depend on field settings when * possible. No assumptions should be made on how storage engines diff --git a/core/modules/aggregator/src/FeedForm.php b/core/modules/aggregator/src/FeedForm.php index aa5069c..cab27d2 100644 --- a/core/modules/aggregator/src/FeedForm.php +++ b/core/modules/aggregator/src/FeedForm.php @@ -12,7 +12,7 @@ use Drupal\Core\Url; /** - * Form controller for the aggregator feed edit forms. + * Form handler for the aggregator feed edit forms. */ class FeedForm extends ContentEntityForm { diff --git a/core/modules/aggregator/src/FeedViewBuilder.php b/core/modules/aggregator/src/FeedViewBuilder.php index 11b78ab..6599682 100644 --- a/core/modules/aggregator/src/FeedViewBuilder.php +++ b/core/modules/aggregator/src/FeedViewBuilder.php @@ -16,7 +16,7 @@ use Symfony\Component\DependencyInjection\ContainerInterface; /** - * Render controller for aggregator feed items. + * Render handler for aggregator feed items. */ class FeedViewBuilder extends EntityViewBuilder { diff --git a/core/modules/aggregator/src/ItemViewBuilder.php b/core/modules/aggregator/src/ItemViewBuilder.php index 1f0c23a..39646db 100644 --- a/core/modules/aggregator/src/ItemViewBuilder.php +++ b/core/modules/aggregator/src/ItemViewBuilder.php @@ -10,7 +10,7 @@ use Drupal\Core\Entity\EntityViewBuilder; /** - * Render controller for aggregator feed items. + * Render handler for aggregator feed items. */ class ItemViewBuilder extends EntityViewBuilder { diff --git a/core/modules/block_content/src/BlockContentForm.php b/core/modules/block_content/src/BlockContentForm.php index 088c4d7..ffe2f99 100644 --- a/core/modules/block_content/src/BlockContentForm.php +++ b/core/modules/block_content/src/BlockContentForm.php @@ -16,7 +16,7 @@ use Symfony\Component\DependencyInjection\ContainerInterface; /** - * Form controller for the custom block edit forms. + * Form handler for the custom block edit forms. */ class BlockContentForm extends ContentEntityForm { diff --git a/core/modules/block_content/src/BlockContentViewBuilder.php b/core/modules/block_content/src/BlockContentViewBuilder.php index 87b7aed..44380c5 100644 --- a/core/modules/block_content/src/BlockContentViewBuilder.php +++ b/core/modules/block_content/src/BlockContentViewBuilder.php @@ -12,7 +12,7 @@ use Drupal\Core\Entity\EntityViewBuilder; /** - * Render controller for custom blocks. + * View builder handler for custom blocks. */ class BlockContentViewBuilder extends EntityViewBuilder { diff --git a/core/modules/comment/src/CommentForm.php b/core/modules/comment/src/CommentForm.php index 51a6cce..8ca7eda 100644 --- a/core/modules/comment/src/CommentForm.php +++ b/core/modules/comment/src/CommentForm.php @@ -20,7 +20,7 @@ use Symfony\Component\DependencyInjection\ContainerInterface; /** - * Base for controller for comment forms. + * Base for handler for comment forms. */ class CommentForm extends ContentEntityForm { diff --git a/core/modules/comment/src/CommentStorage.php b/core/modules/comment/src/CommentStorage.php index 099e5f4..a6824cd 100644 --- a/core/modules/comment/src/CommentStorage.php +++ b/core/modules/comment/src/CommentStorage.php @@ -19,7 +19,7 @@ use Symfony\Component\DependencyInjection\ContainerInterface; /** - * Defines the controller class for comments. + * Defines the handler class for comments. * * This extends the Drupal\Core\Entity\Sql\SqlContentEntityStorage class, * adding required special handling for comment entities. diff --git a/core/modules/comment/src/CommentTypeForm.php b/core/modules/comment/src/CommentTypeForm.php index 12d65fb..4471e32 100644 --- a/core/modules/comment/src/CommentTypeForm.php +++ b/core/modules/comment/src/CommentTypeForm.php @@ -16,7 +16,7 @@ use Symfony\Component\DependencyInjection\ContainerInterface; /** - * Base form controller for category edit forms. + * Base form handler for category edit forms. */ class CommentTypeForm extends EntityForm { diff --git a/core/modules/comment/src/CommentViewBuilder.php b/core/modules/comment/src/CommentViewBuilder.php index 22914d3..193bdd3 100644 --- a/core/modules/comment/src/CommentViewBuilder.php +++ b/core/modules/comment/src/CommentViewBuilder.php @@ -18,7 +18,7 @@ use Symfony\Component\DependencyInjection\ContainerInterface; /** - * Render controller for comments. + * Render handler for comments. */ class CommentViewBuilder extends EntityViewBuilder { diff --git a/core/modules/config_translation/src/ConfigNamesMapper.php b/core/modules/config_translation/src/ConfigNamesMapper.php index 5d15dd5..10d90a2 100644 --- a/core/modules/config_translation/src/ConfigNamesMapper.php +++ b/core/modules/config_translation/src/ConfigNamesMapper.php @@ -103,7 +103,7 @@ class ConfigNamesMapper extends PluginBase implements ConfigMapperInterface, Con * - names: (optional) An array of configuration names. * - weight: (optional) The weight of this mapper, used in mapper listings. * Defaults to 20. - * - list_controller: (optional) Class name for list controller used to + * - list_controller: (optional) Class name for list handler used to * generate lists of this type of configuration. * @param \Drupal\Core\Config\ConfigFactoryInterface $config_factory * The configuration factory. diff --git a/core/modules/field_ui/src/EntityDisplayModeListBuilder.php b/core/modules/field_ui/src/EntityDisplayModeListBuilder.php index 1595963..42e7a60 100644 --- a/core/modules/field_ui/src/EntityDisplayModeListBuilder.php +++ b/core/modules/field_ui/src/EntityDisplayModeListBuilder.php @@ -130,14 +130,14 @@ public function render() { } /** - * Filters entities based on their controllers. + * Filters entities based on their handlers. * * @param $entity_type * The entity type of the entity that needs to be validated. * * @return bool - * TRUE if the entity has the correct controller, FALSE if the entity - * doesn't has the correct controller. + * TRUE if the entity has the correct handler, FALSE if the entity + * doesn't has the correct handler. */ protected function isValidEntity($entity_type) { return $this->entityTypes[$entity_type]->get('field_ui_base_route') && $this->entityTypes[$entity_type]->hasViewBuilderClass(); diff --git a/core/modules/field_ui/src/EntityFormModeListBuilder.php b/core/modules/field_ui/src/EntityFormModeListBuilder.php index f6fc24b..538b255 100644 --- a/core/modules/field_ui/src/EntityFormModeListBuilder.php +++ b/core/modules/field_ui/src/EntityFormModeListBuilder.php @@ -15,7 +15,7 @@ class EntityFormModeListBuilder extends EntityDisplayModeListBuilder { /** - * Filters entities based on their controllers. + * Filters entities based on their handlers. * * @param $entity_type * The entity type of the entity that needs to be validated. diff --git a/core/modules/language/src/Config/LanguageConfigOverride.php b/core/modules/language/src/Config/LanguageConfigOverride.php index 3648253..a4c824e 100644 --- a/core/modules/language/src/Config/LanguageConfigOverride.php +++ b/core/modules/language/src/Config/LanguageConfigOverride.php @@ -33,7 +33,7 @@ class LanguageConfigOverride extends StorableConfigBase { * @param string $name * The name of the configuration object being overridden. * @param \Drupal\Core\Config\StorageInterface $storage - * A storage controller object to use for reading and writing the + * A storage handler object to use for reading and writing the * configuration override. * @param \Drupal\Core\Config\TypedConfigManagerInterface $typed_config * The typed configuration manager service. diff --git a/core/modules/language/src/LanguageListBuilder.php b/core/modules/language/src/LanguageListBuilder.php index 1f95f32..f192825 100644 --- a/core/modules/language/src/LanguageListBuilder.php +++ b/core/modules/language/src/LanguageListBuilder.php @@ -61,7 +61,7 @@ public static function createInstance(ContainerInterface $container, EntityTypeI * @param \Drupal\Core\Entity\EntityTypeInterface $entity_type * The entity type definition. * @param \Drupal\Core\Entity\EntityStorageInterface $storage - * The entity storage controller class. + * The entity storage handler class. * @param \Drupal\Core\Language\LanguageManagerInterface * The language manager. * @param \Drupal\Core\Config\ConfigFactoryInterface $config_factory diff --git a/core/modules/node/src/NodeForm.php b/core/modules/node/src/NodeForm.php index bb6c49d..e273fc3 100644 --- a/core/modules/node/src/NodeForm.php +++ b/core/modules/node/src/NodeForm.php @@ -14,7 +14,7 @@ use Symfony\Component\DependencyInjection\ContainerInterface; /** - * Form controller for the node edit forms. + * Form handler for the node edit forms. */ class NodeForm extends ContentEntityForm { diff --git a/core/modules/node/src/NodeGrantDatabaseStorage.php b/core/modules/node/src/NodeGrantDatabaseStorage.php index 6b6f280..3e08fda 100644 --- a/core/modules/node/src/NodeGrantDatabaseStorage.php +++ b/core/modules/node/src/NodeGrantDatabaseStorage.php @@ -16,7 +16,7 @@ use Drupal\Core\Session\AccountInterface; /** - * Defines a controller class that handles the node grants system. + * Defines a handler class that handles the node grants system. * * This is used to build node query access. * diff --git a/core/modules/node/src/NodeStorage.php b/core/modules/node/src/NodeStorage.php index 830fc32..6279c6f 100644 --- a/core/modules/node/src/NodeStorage.php +++ b/core/modules/node/src/NodeStorage.php @@ -12,7 +12,7 @@ use Drupal\Core\Language\LanguageInterface; /** - * Defines the controller class for nodes. + * Defines the handler class for nodes. * * This extends the base storage class, adding required special handling for * node entities. diff --git a/core/modules/node/src/NodeTypeForm.php b/core/modules/node/src/NodeTypeForm.php index e4f8cf5..8c85e47 100644 --- a/core/modules/node/src/NodeTypeForm.php +++ b/core/modules/node/src/NodeTypeForm.php @@ -15,7 +15,7 @@ use Symfony\Component\DependencyInjection\ContainerInterface; /** - * Form controller for node type forms. + * Form handler for node type forms. */ class NodeTypeForm extends BundleEntityFormBase { diff --git a/core/modules/node/src/NodeViewBuilder.php b/core/modules/node/src/NodeViewBuilder.php index 1ee05f6..db3a7b4 100644 --- a/core/modules/node/src/NodeViewBuilder.php +++ b/core/modules/node/src/NodeViewBuilder.php @@ -13,7 +13,7 @@ use Drupal\node\Entity\Node; /** - * Render controller for nodes. + * View builder handler for nodes. */ class NodeViewBuilder extends EntityViewBuilder { diff --git a/core/modules/node/src/Plugin/views/argument/Type.php b/core/modules/node/src/Plugin/views/argument/Type.php index 62ab17d..3ef4339 100644 --- a/core/modules/node/src/Plugin/views/argument/Type.php +++ b/core/modules/node/src/Plugin/views/argument/Type.php @@ -19,7 +19,7 @@ class Type extends StringArgument { /** - * NodeType storage controller. + * NodeType storage handler. * * @var \Drupal\Core\Entity\EntityStorageInterface */ diff --git a/core/modules/shortcut/src/ShortcutForm.php b/core/modules/shortcut/src/ShortcutForm.php index c0f8714..f2f16e9 100644 --- a/core/modules/shortcut/src/ShortcutForm.php +++ b/core/modules/shortcut/src/ShortcutForm.php @@ -11,7 +11,7 @@ use Drupal\Core\Form\FormStateInterface; /** - * Form controller for the shortcut entity forms. + * Form handler for the shortcut entity forms. */ class ShortcutForm extends ContentEntityForm { diff --git a/core/modules/shortcut/src/ShortcutSetForm.php b/core/modules/shortcut/src/ShortcutSetForm.php index fd21f7c..7bb6ced 100644 --- a/core/modules/shortcut/src/ShortcutSetForm.php +++ b/core/modules/shortcut/src/ShortcutSetForm.php @@ -11,7 +11,7 @@ use Drupal\Core\Form\FormStateInterface; /** - * Form controller for the shortcut set entity edit forms. + * Form handler for the shortcut set entity edit forms. */ class ShortcutSetForm extends BundleEntityFormBase { diff --git a/core/modules/taxonomy/src/Form/OverviewTerms.php b/core/modules/taxonomy/src/Form/OverviewTerms.php index dffbe34..a44bc54 100644 --- a/core/modules/taxonomy/src/Form/OverviewTerms.php +++ b/core/modules/taxonomy/src/Form/OverviewTerms.php @@ -27,7 +27,7 @@ class OverviewTerms extends FormBase { protected $moduleHandler; /** - * The term storage controller. + * The term storage handler. * * @var \Drupal\taxonomy\TermStorageInterface */ diff --git a/core/modules/taxonomy/src/TermForm.php b/core/modules/taxonomy/src/TermForm.php index 9da0993..ba1dcb3 100644 --- a/core/modules/taxonomy/src/TermForm.php +++ b/core/modules/taxonomy/src/TermForm.php @@ -11,7 +11,7 @@ use Drupal\Core\Form\FormStateInterface; /** - * Base for controller for taxonomy term edit forms. + * Base for handler for taxonomy term edit forms. */ class TermForm extends ContentEntityForm { diff --git a/core/modules/taxonomy/src/TermViewBuilder.php b/core/modules/taxonomy/src/TermViewBuilder.php index efd4374..ee9593f 100644 --- a/core/modules/taxonomy/src/TermViewBuilder.php +++ b/core/modules/taxonomy/src/TermViewBuilder.php @@ -12,7 +12,7 @@ use Drupal\Core\Entity\EntityViewBuilder; /** - * Render controller for taxonomy terms. + * View builder handler for taxonomy terms. */ class TermViewBuilder extends EntityViewBuilder { diff --git a/core/modules/taxonomy/src/VocabularyStorage.php b/core/modules/taxonomy/src/VocabularyStorage.php index b761bcc..0f8692e 100644 --- a/core/modules/taxonomy/src/VocabularyStorage.php +++ b/core/modules/taxonomy/src/VocabularyStorage.php @@ -10,7 +10,7 @@ use Drupal\Core\Config\Entity\ConfigEntityStorage; /** - * Defines a controller class for taxonomy vocabularies. + * Defines a handler class for taxonomy vocabularies. */ class VocabularyStorage extends ConfigEntityStorage implements VocabularyStorageInterface { diff --git a/core/modules/user/src/ProfileForm.php b/core/modules/user/src/ProfileForm.php index e119693..c8cc613 100644 --- a/core/modules/user/src/ProfileForm.php +++ b/core/modules/user/src/ProfileForm.php @@ -13,7 +13,7 @@ use Drupal\Core\Language\LanguageManagerInterface; /** - * Form controller for the profile forms. + * Form handler for the profile forms. */ class ProfileForm extends AccountForm { diff --git a/core/modules/user/src/RegisterForm.php b/core/modules/user/src/RegisterForm.php index d24a4b4..d236dd3 100644 --- a/core/modules/user/src/RegisterForm.php +++ b/core/modules/user/src/RegisterForm.php @@ -13,7 +13,7 @@ use Drupal\Core\Language\LanguageManagerInterface; /** - * Form controller for the user register forms. + * Form handler for the user register forms. */ class RegisterForm extends AccountForm { diff --git a/core/modules/views/src/EntityViewsData.php b/core/modules/views/src/EntityViewsData.php index bc355f9..3670038 100644 --- a/core/modules/views/src/EntityViewsData.php +++ b/core/modules/views/src/EntityViewsData.php @@ -28,7 +28,7 @@ class EntityViewsData implements EntityHandlerInterface, EntityViewsDataInterfac use StringTranslationTrait; /** - * Entity type for this views controller instance. + * Entity type for this views data handler instance. * * @var \Drupal\Core\Entity\EntityTypeInterface */ @@ -68,7 +68,7 @@ class EntityViewsData implements EntityHandlerInterface, EntityViewsDataInterfac * @param \Drupal\Core\Entity\EntityTypeInterface $entity_type * The entity type to provide views integration for. * @param \Drupal\Core\Entity\Sql\SqlEntityStorageInterface $storage_controller - * The storage controller used for this entity type. + * The storage handler used for this entity type. * @param \Drupal\Core\Entity\EntityManagerInterface $entity_manager * The entity manager. * @param \Drupal\Core\Extension\ModuleHandlerInterface $module_handler