Commit 258856ae authored by alexpott's avatar alexpott

Issue #2154435 by andypost, Berdir, mparker17: Rename EntityAccessController...

Issue #2154435 by andypost, Berdir, mparker17: Rename EntityAccessController to EntityAccessControlHandler.
parent a04820c1
......@@ -313,25 +313,6 @@ function entity_page_label(EntityInterface $entity, $langcode = NULL) {
return $entity->label($langcode);
}
/**
* Returns the entity access controller for the given entity type.
*
* @param string $entity_type
* The type of the entity.
*
* @return \Drupal\Core\Entity\EntityAccessControllerInterface
* An entity access controller instance.
*
* @see \Drupal\Core\Entity\EntityManagerInterface::getAccessController().
*
* @deprecated in Drupal 8.x-dev, will be removed before Drupal 8.0.
* Use \Drupal::entityManager()->getAccessController().
*/
function entity_access_controller($entity_type) {
return \Drupal::entityManager()
->getAccessController($entity_type);
}
/**
* Returns the render array for an entity.
*
......
......@@ -550,11 +550,11 @@ public function isEmpty() {
public function access($operation, AccountInterface $account = NULL) {
if ($operation == 'create') {
return $this->entityManager()
->getAccessController($this->entityTypeId)
->getAccessControlHandler($this->entityTypeId)
->createAccess($this->bundle(), $account);
}
return $this->entityManager()
->getAccessController($this->entityTypeId)
->getAccessControlHandler($this->entityTypeId)
->access($this, $operation, $this->activeLangcode, $account);
}
......
......@@ -280,11 +280,11 @@ public function uriRelationships() {
public function access($operation, AccountInterface $account = NULL) {
if ($operation == 'create') {
return $this->entityManager()
->getAccessController($this->entityTypeId)
->getAccessControlHandler($this->entityTypeId)
->createAccess($this->bundle(), $account);
}
return $this->entityManager()
->getAccessController($this->entityTypeId)
->getAccessControlHandler($this->entityTypeId)
->access($this, $operation, LanguageInterface::LANGCODE_DEFAULT, $account);
}
......
......@@ -2,32 +2,30 @@
/**
* @file
* Contains \Drupal\Core\Entity\EntityAccessController.
* Contains \Drupal\Core\Entity\EntityAccessControlHandler.
*/
namespace Drupal\Core\Entity;
use Drupal\Core\Entity\EntityTypeInterface;
use Drupal\Core\Field\FieldItemListInterface;
use Drupal\Core\Extension\ModuleHandlerInterface;
use Drupal\Core\Field\FieldDefinitionInterface;
use Drupal\Core\Language\LanguageInterface;
use Drupal\Core\Session\AccountInterface;
/**
* Defines a default implementation for entity access controllers.
* Defines a default implementation for entity access control handler.
*/
class EntityAccessController extends EntityControllerBase implements EntityAccessControllerInterface {
class EntityAccessControlHandler extends EntityControllerBase implements EntityAccessControlHandlerInterface {
/**
* Stores calculcated access check results.
* Stores calculated access check results.
*
* @var array
*/
protected $accessCache = array();
/**
* The entity type ID of the access controller instance.
* The entity type ID of the access control handler instance.
*
* @var string
*/
......@@ -41,7 +39,7 @@ class EntityAccessController extends EntityControllerBase implements EntityAcces
protected $entityType;
/**
* Constructs an access controller instance.
* Constructs an access control handler instance.
*
* @param \Drupal\Core\Entity\EntityTypeInterface $entity_type
* The entity type definition.
......@@ -64,7 +62,7 @@ public function access(EntityInterface $entity, $operation, $langcode = Language
// Invoke hook_entity_access() and hook_ENTITY_TYPE_access(). Hook results
// take precedence over overridden implementations of
// EntityAccessController::checkAccess(). Entities that have checks that
// EntityAccessControlHandler::checkAccess(). Entities that have checks that
// need to be done before the hook is invoked should do so by overriding
// this method.
......@@ -78,7 +76,7 @@ public function access(EntityInterface $entity, $operation, $langcode = Language
if (($return = $this->processAccessHookResults($access)) === NULL) {
// No module had an opinion about the access, so let's the access
// controller check create access.
// handler check create access.
$return = (bool) $this->checkAccess($entity, $operation, $langcode, $account);
}
return $this->setCache($return, $entity->uuid(), $operation, $langcode, $account);
......@@ -214,7 +212,7 @@ public function createAccess($entity_bundle = NULL, AccountInterface $account =
// Invoke hook_entity_create_access() and hook_ENTITY_TYPE_create_access().
// Hook results take precedence over overridden implementations of
// EntityAccessController::checkAccess(). Entities that have checks that
// EntityAccessControlHandler::checkAccess(). Entities that have checks that
// need to be done before the hook is invoked should do so by overriding
// this method.
......@@ -228,7 +226,7 @@ public function createAccess($entity_bundle = NULL, AccountInterface $account =
if (($return = $this->processAccessHookResults($access)) === NULL) {
// No module had an opinion about the access, so let's the access
// controller check create access.
// handler check create access.
$return = (bool) $this->checkCreateAccess($account, $context, $entity_bundle);
}
return $this->setCache($return, $cid, 'create', $context['langcode'], $account);
......
......@@ -2,7 +2,7 @@
/**
* @file
* Contains \Drupal\Core\Entity\EntityAccessControllerInterface.
* Contains \Drupal\Core\Entity\EntityAccessControlHandlerInterface.
*/
namespace Drupal\Core\Entity;
......@@ -14,14 +14,14 @@
use Drupal\Core\Session\AccountInterface;
/**
* Defines a common interface for entity access controller classes.
* Defines a common interface for entity access control handlers.
*/
interface EntityAccessControllerInterface {
interface EntityAccessControlHandlerInterface {
/**
* Checks access to an operation on a given entity or entity translation.
*
* Use \Drupal\Core\Entity\EntityAccessControllerInterface::createAccess()
* Use \Drupal\Core\Entity\EntityAccessControlHandlerInterface::createAccess()
* to check access to create an entity.
*
* @param \Drupal\Core\Entity\EntityInterface $entity
......@@ -62,7 +62,7 @@ public function createAccess($entity_bundle = NULL, AccountInterface $account =
public function resetCache();
/**
* Sets the module handler for this access controller.
* Sets the module handler for this access control handler.
*
* @param \Drupal\Core\Extension\ModuleHandlerInterface $module_handler
* The module handler.
......@@ -77,7 +77,7 @@ public function setModuleHandler(ModuleHandlerInterface $module_handler);
* This method does not determine whether access is granted to the entity
* itself, only the specific field. Callers are responsible for ensuring that
* entity access is also respected, for example by using
* \Drupal\Core\Entity\EntityAccessControllerInterface::access().
* \Drupal\Core\Entity\EntityAccessControlHandlerInterface::access().
*
* @param string $operation
* The operation access should be checked for.
......@@ -92,7 +92,7 @@ public function setModuleHandler(ModuleHandlerInterface $module_handler);
* is checked for the field definition, without any specific value
* available. Defaults to NULL.
*
* @see \Drupal\Core\Entity\EntityAccessControllerInterface::access()
* @see \Drupal\Core\Entity\EntityAccessControlHandlerInterface::access()
*/
public function fieldAccess($operation, FieldDefinitionInterface $field_definition, AccountInterface $account = NULL, FieldItemListInterface $items = NULL);
......
......@@ -69,7 +69,7 @@ public function access(Route $route, Request $request, AccountInterface $account
return static::DENY;
}
}
return $this->entityManager->getAccessController($entity_type)->createAccess($bundle, $account) ? static::ALLOW : static::DENY;
return $this->entityManager->getAccessControlHandler($entity_type)->createAccess($bundle, $account) ? static::ALLOW : static::DENY;
}
}
......@@ -271,8 +271,8 @@ public function getViewBuilder($entity_type) {
/**
* {@inheritdoc}
*/
public function getAccessController($entity_type) {
return $this->getController($entity_type, 'access', 'getAccessClass');
public function getAccessControlHandler($entity_type) {
return $this->getController($entity_type, 'access', 'getAccessControlClass');
}
/**
......
......@@ -106,15 +106,15 @@ public function getFieldMap();
public function getFieldMapByFieldType($field_type);
/**
* Creates a new access controller instance.
* Creates a new access control handler instance.
*
* @param string $entity_type
* The entity type for this access controller.
* The entity type for this access control handler.
*
* @return \Drupal\Core\Entity\EntityAccessControllerInterface.
* A access controller instance.
* @return \Drupal\Core\Entity\EntityAccessControlHandlerInterface.
* A access control handler instance.
*/
public function getAccessController($entity_type);
public function getAccessControlHandler($entity_type);
/**
* Returns the route information for an entity type's bundle.
......
......@@ -224,7 +224,7 @@ public function __construct($definition) {
'bundle' => ''
);
$this->controllers += array(
'access' => 'Drupal\Core\Entity\EntityAccessController',
'access' => 'Drupal\Core\Entity\EntityAccessControlHandler',
);
}
......@@ -446,7 +446,7 @@ public function hasViewBuilderClass() {
/**
* {@inheritdoc}
*/
public function getAccessClass() {
public function getAccessControlClass() {
return $this->getControllerClass('access');
}
......
......@@ -208,8 +208,8 @@ public function getControllerClass($controller_type);
* - render: The name of the class that is used to render the entities. The
* class must implement \Drupal\Core\Entity\EntityViewBuilderInterface.
* - access: The name of the class that is used for access checks. The class
* must implement \Drupal\Core\Entity\EntityAccessControllerInterface.
* Defaults to \Drupal\Core\Entity\EntityAccessController.
* must implement \Drupal\Core\Entity\EntityAccessControlHandlerInterface.
* Defaults to \Drupal\Core\Entity\EntityAccessControlHandler.
*/
public function getControllerClasses();
......@@ -320,12 +320,12 @@ public function setViewBuilderClass($class);
public function hasViewBuilderClass();
/**
* Returns the access class.
* Returns the access control class.
*
* @return string
* The class for this entity type's access.
* The class for this entity type's access control.
*/
public function getAccessClass();
public function getAccessControlClass();
/**
* Returns the access class.
......@@ -363,7 +363,7 @@ public function setControllerClass($controller_type, $value);
/**
* Returns the name of the default administrative permission.
*
* The default \Drupal\Core\Entity\EntityAccessController class checks this
* The default \Drupal\Core\Entity\EntityAccessControlHandler class checks this
* permission for all operations in its checkAccess() method. Entities with
* more complex permissions can extend this class to do their own access
* checks.
......
......@@ -188,8 +188,8 @@ public function __unset($property_name) {
* {@inheritdoc}
*/
public function access($operation = 'view', AccountInterface $account = NULL) {
$access_controller = \Drupal::entityManager()->getAccessController($this->getEntity()->getEntityTypeId());
return $access_controller->fieldAccess($operation, $this->getFieldDefinition(), $account, $this);
$access_control_handler = \Drupal::entityManager()->getAccessControlHandler($this->getEntity()->getEntityTypeId());
return $access_control_handler->fieldAccess($operation, $this->getFieldDefinition(), $account, $this);
}
/**
......
......@@ -84,7 +84,7 @@ public function getSetting($setting_name);
/**
* Contains the default access logic of this field.
*
* See \Drupal\Core\Entity\EntityAccessControllerInterface::fieldAccess() for
* See \Drupal\Core\Entity\EntityAccessControlHandlerInterface::fieldAccess() for
* the parameter documentation.
*
* @return bool
......
......@@ -23,7 +23,7 @@
* controllers = {
* "storage" = "Drupal\aggregator\FeedStorage",
* "view_builder" = "Drupal\aggregator\FeedViewBuilder",
* "access" = "Drupal\aggregator\FeedAccessController",
* "access" = "Drupal\aggregator\FeedAccessControlHandler",
* "form" = {
* "default" = "Drupal\aggregator\FeedForm",
* "delete" = "Drupal\aggregator\Form\FeedDeleteForm",
......
......@@ -24,7 +24,7 @@
* controllers = {
* "storage" = "Drupal\aggregator\ItemStorage",
* "view_builder" = "Drupal\aggregator\ItemViewBuilder",
* "access" = "Drupal\aggregator\FeedAccessController",
* "access" = "Drupal\aggregator\FeedAccessControlHandler",
* },
* uri_callback = "Drupal\aggregator\Entity\Item::buildUri",
* base_table = "aggregator_item",
......
......@@ -2,21 +2,21 @@
/**
* @file
* Contains \Drupal\aggregator\FeedAccessController.
* Contains \Drupal\aggregator\FeedAccessControlHandler.
*/
namespace Drupal\aggregator;
use Drupal\Core\Entity\EntityAccessController;
use Drupal\Core\Entity\EntityAccessControlHandler;
use Drupal\Core\Entity\EntityInterface;
use Drupal\Core\Session\AccountInterface;
/**
* Defines an access controller for the feed entity.
* Defines an access control handler for the feed entity.
*
* @see \Drupal\aggregator\Entity\Feed
*/
class FeedAccessController extends EntityAccessController {
class FeedAccessControlHandler extends EntityAccessControlHandler {
/**
* {@inheritdoc}
......
......@@ -142,10 +142,10 @@ function hook_block_view_BASE_BLOCK_ID_alter(array &$build, \Drupal\block\BlockP
* @return bool|null
* FALSE denies access. TRUE allows access unless another module returns
* FALSE. If all modules return NULL, then default access rules from
* \Drupal\block\BlockAccessController::checkAccess() are used.
* \Drupal\block\BlockAccessControlHandler::checkAccess() are used.
*
* @see \Drupal\Core\Entity\EntityAccessController::access()
* @see \Drupal\block\BlockAccessController::checkAccess()
* @see \Drupal\Core\Entity\EntityAccessControlHandler::access()
* @see \Drupal\block\BlockAccessControlHandler::checkAccess()
* @ingroup block_api
*/
function hook_block_access(\Drupal\block\Entity\Block $block, $operation, \Drupal\user\Entity\User $account, $langcode) {
......
......@@ -2,19 +2,21 @@
/**
* @file
* Contains \Drupal\block\BlockAccessController.
* Contains \Drupal\block\BlockAccessControlHandler.
*/
namespace Drupal\block;
use Drupal\Core\Entity\EntityAccessController;
use Drupal\Core\Entity\EntityAccessControlHandler;
use Drupal\Core\Entity\EntityInterface;
use Drupal\Core\Session\AccountInterface;
/**
* Provides a Block access controller.
* Defines the access control handler for the block entity type.
*
* @see \Drupal\block\Entity\Block
*/
class BlockAccessController extends EntityAccessController {
class BlockAccessControlHandler extends EntityAccessControlHandler {
/**
* {@inheritdoc}
......
......@@ -51,7 +51,7 @@ public function label();
* @return bool
* TRUE if the block should be shown, or FALSE otherwise.
*
* @see \Drupal\block\BlockAccessController
* @see \Drupal\block\BlockAccessControlHandler
*/
public function access(AccountInterface $account);
......
......@@ -22,7 +22,7 @@
* id = "block",
* label = @Translation("Block"),
* controllers = {
* "access" = "Drupal\block\BlockAccessController",
* "access" = "Drupal\block\BlockAccessControlHandler",
* "view_builder" = "Drupal\block\BlockViewBuilder",
* "list_builder" = "Drupal\block\BlockListBuilder",
* "form" = {
......
......@@ -2,19 +2,21 @@
/**
* @file
* Contains \Drupal\block_content\BlockContentAccessController.
* Contains \Drupal\block_content\BlockContentAccessControlHandler.
*/
namespace Drupal\block_content;
use Drupal\Core\Entity\EntityInterface;
use Drupal\Core\Entity\EntityAccessController;
use Drupal\Core\Entity\EntityAccessControlHandler;
use Drupal\Core\Session\AccountInterface;
/**
* Defines the access controller for the custom block entity type.
* Defines the access control handler for the custom block entity type.
*
* @see \Drupal\block_content\Entity\BlockContent
*/
class BlockContentAccessController extends EntityAccessController {
class BlockContentAccessControlHandler extends EntityAccessControlHandler {
/**
* {@inheritdoc}
......
......@@ -22,7 +22,7 @@
* bundle_label = @Translation("Custom Block type"),
* controllers = {
* "storage" = "Drupal\block_content\BlockContentStorage",
* "access" = "Drupal\block_content\BlockContentAccessController",
* "access" = "Drupal\block_content\BlockContentAccessControlHandler",
* "list_builder" = "Drupal\block_content\BlockContentListBuilder",
* "view_builder" = "Drupal\block_content\BlockContentViewBuilder",
* "form" = {
......
......@@ -124,8 +124,8 @@ function book_node_links_alter(array &$node_links, NodeInterface $node, array &$
if (isset($node->book['depth'])) {
if ($context['view_mode'] == 'full' && node_is_page($node)) {
$child_type = \Drupal::config('book.settings')->get('child_type');
$access_controller = \Drupal::entityManager()->getAccessController('node');
if (($account->hasPermission('add content to books') || $account->hasPermission('administer book outlines')) && $access_controller->createAccess($child_type) && $node->isPublished() && $node->book['depth'] < BookManager::BOOK_MAX_DEPTH) {
$access_control_handler = \Drupal::entityManager()->getAccessControlHandler('node');
if (($account->hasPermission('add content to books') || $account->hasPermission('administer book outlines')) && $access_control_handler->createAccess($child_type) && $node->isPublished() && $node->book['depth'] < BookManager::BOOK_MAX_DEPTH) {
$links['book_add_child'] = array(
'title' => t('Add child page'),
'href' => 'node/add/' . $child_type,
......
......@@ -2,21 +2,21 @@
/**
* @file
* Contains \Drupal\comment\CommentAccessController
* Contains \Drupal\comment\CommentAccessControlHandler.
*/
namespace Drupal\comment;
use Drupal\Core\Entity\EntityAccessController;
use Drupal\Core\Entity\EntityAccessControlHandler;
use Drupal\Core\Entity\EntityInterface;
use Drupal\Core\Session\AccountInterface;
/**
* Access controller for the comment entity.
* Defines the access control handler for the comment entity type.
*
* @see \Drupal\comment\Entity\Comment.
* @see \Drupal\comment\Entity\Comment
*/
class CommentAccessController extends EntityAccessController {
class CommentAccessControlHandler extends EntityAccessControlHandler {
/**
* {@inheritdoc}
......
......@@ -25,7 +25,7 @@
* bundle_label = @Translation("Content type"),
* controllers = {
* "storage" = "Drupal\comment\CommentStorage",
* "access" = "Drupal\comment\CommentAccessController",
* "access" = "Drupal\comment\CommentAccessControlHandler",
* "view_builder" = "Drupal\comment\CommentViewBuilder",
* "form" = {
* "default" = "Drupal\comment\CommentForm",
......
......@@ -2,19 +2,21 @@
/**
* @file
* Contains \Drupal\config_test\ConfigTestAccessController.
* Contains \Drupal\config_test\ConfigTestAccessControlHandler.
*/
namespace Drupal\config_test;
use Drupal\Core\Session\AccountInterface;
use Drupal\Core\Entity\EntityAccessController;
use Drupal\Core\Entity\EntityAccessControlHandler;
use Drupal\Core\Entity\EntityInterface;
/**
* Defines the access controller for the config_test entity type.
* Defines the access control handler for the config_test entity type.
*
* @see \Drupal\config_test\Entity\ConfigTest
*/
class ConfigTestAccessController extends EntityAccessController {
class ConfigTestAccessControlHandler extends EntityAccessControlHandler {
/**
* {@inheritdoc}
......
......@@ -25,7 +25,7 @@
* "default" = "Drupal\config_test\ConfigTestForm",
* "delete" = "Drupal\config_test\Form\ConfigTestDeleteForm"
* },
* "access" = "Drupal\config_test\ConfigTestAccessController"
* "access" = "Drupal\config_test\ConfigTestAccessControlHandler"
* },
* config_prefix = "dynamic",
* entity_keys = {
......
......@@ -2,21 +2,21 @@
/**
* @file
* Contains \Drupal\contact\CategoryAccessController.
* Contains \Drupal\contact\CategoryAccessControlHandler.
*/
namespace Drupal\contact;
use Drupal\Core\Entity\EntityAccessController;
use Drupal\Core\Entity\EntityAccessControlHandler;
use Drupal\Core\Entity\EntityInterface;
use Drupal\Core\Session\AccountInterface;
/**
* Defines an access controller for the contact category entity.
* Defines the access control handler for the contact category entity type.
*
* @see \Drupal\contact\Entity\Category.
* @see \Drupal\contact\Entity\Category
*/
class CategoryAccessController extends EntityAccessController {
class CategoryAccessControlHandler extends EntityAccessControlHandler {
/**
* {@inheritdoc}
......
......@@ -19,7 +19,7 @@
* id = "contact_category",
* label = @Translation("Contact category"),
* controllers = {
* "access" = "Drupal\contact\CategoryAccessController",
* "access" = "Drupal\contact\CategoryAccessControlHandler",
* "list_builder" = "Drupal\contact\CategoryListBuilder",
* "form" = {
* "add" = "Drupal\contact\CategoryForm",
......
......@@ -60,7 +60,7 @@ public function retranslate(EntityInterface $entity, $langcode = NULL) {
* {@inheritdoc}
*/
public function getTranslationAccess(EntityInterface $entity, $op) {
// @todo Move this logic into a translation access controller checking also
// @todo Move this logic into a translation access control handler checking also
// the translation language and the given account.
$entity_type = $entity->getEntityType();
$translate_permission = TRUE;
......
......@@ -78,8 +78,8 @@ public function handleAutocomplete(Request $request, $type, $field_name, $entity
}
$field_definition = $definitions[$field_name];
$access_controller = $this->entityManager()->getAccessController($entity_type);
if ($field_definition->getType() != 'entity_reference' || !$access_controller->fieldAccess('edit', $field_definition)) {
$access_control_handler = $this->entityManager()->getAccessControlHandler($entity_type);
if ($field_definition->getType() != 'entity_reference' || !$access_control_handler->fieldAccess('edit', $field_definition)) {
throw new AccessDeniedHttpException();
}
......
......@@ -24,7 +24,7 @@
* id = "field_instance_config",
* label = @Translation("Field instance"),
* controllers = {
* "access" = "Drupal\field\FieldInstanceConfigAccessController",
* "access" = "Drupal\field\FieldInstanceConfigAccessControlHandler",
* "storage" = "Drupal\field\FieldInstanceConfigStorage"
* },
* config_prefix = "instance",
......
......@@ -2,19 +2,21 @@
/**
* @file
* Contains \Drupal\field\FieldInstanceConfigAccessController.
* Contains \Drupal\field\FieldInstanceConfigAccessControlHandler.
*/
namespace Drupal\field;
use Drupal\Core\Entity\EntityAccessController;
use Drupal\Core\Entity\EntityAccessControlHandler;
use Drupal\Core\Entity\EntityInterface;
use Drupal\Core\Session\AccountInterface;
/**
* Defines the access controller for the field instance entity type.
* Defines the access control handler for the field instance entity type.
*
* @see \Drupal\field\Entity\FieldInstanceConfig
*/
class FieldInstanceConfigAccessController extends EntityAccessController {
class FieldInstanceConfigAccessControlHandler extends EntityAccessControlHandler {
/**
* {@inheritdoc}
......
......@@ -213,8 +213,8 @@ public function init(ViewExecutable $view, DisplayPluginBase $display, array &$o
*/
public function access(AccountInterface $account) {
$base_table = $this->get_base_table();
$access_controller = $this->entityManager->getAccessController($this->definition['entity_tables'][$base_table]);
return $access_controller->fieldAccess('view', $this->getFieldDefinition(), $account);
$access_control_handler = $this->entityManager->getAccessControlHandler($this->definition['entity_tables'][$base_table]);
return $access_control_handler->fieldAccess('view', $this->getFieldDefinition(), $account);
}
/**
......
......@@ -23,7 +23,7 @@
* label = @Translation("File"),
* controllers = {
* "storage" = "Drupal\file\FileStorage",
* "access" = "Drupal\file\FileAccessController",
* "access" = "Drupal\file\FileAccessControlHandler",
* "view_builder" = "Drupal\Core\Entity\EntityViewBuilder"
* },
* base_table = "file_managed",
......
......@@ -2,20 +2,20 @@
/**
* @file
* Contains \Drupal\file\FileAccessController.
* Contains \Drupal\file\FileAccessControlHandler.
*/
namespace Drupal\file;
use Drupal\Core\Entity\EntityAccessController;
use Drupal\Core\Entity\EntityAccessControlHandler;
use Drupal\Core\Entity\EntityInterface;
use Drupal\Core\Entity\EntityStorageInterface;
use Drupal\Core\Session\AccountInterface;
/**
* Provides a File access controller.
* Provides a File access control handler.
*/
class FileAccessController extends EntityAccessController {
class FileAccessControlHandler extends EntityAccessControlHandler {
/**
* {@inheritdoc}
......
......@@ -27,7 +27,7 @@
* "disable" = "Drupal\filter\Form\FilterDisableForm"
* },
* "list_builder" = "Drupal\filter\FilterFormatListBuilder",