Commit 6fe3616f authored by alexpott's avatar alexpott

Issue #2446483 by Anushka-mp: Viewing fields requires a view builder

parent 91ffcc1d
......@@ -19,6 +19,7 @@ public function __construct($definition) {
parent::__construct($definition);
$this->handlers += array(
'storage' => 'Drupal\Core\Entity\Sql\SqlContentEntityStorage',
'view_builder' => 'Drupal\Core\Entity\EntityViewBuilder',
);
}
......
......@@ -25,7 +25,6 @@
* "storage" = "Drupal\file\FileStorage",
* "storage_schema" = "Drupal\file\FileStorageSchema",
* "access" = "Drupal\file\FileAccessControlHandler",
* "view_builder" = "Drupal\Core\Entity\EntityViewBuilder",
* "views_data" = "Drupal\file\FileViewsData",
* },
* base_table = "file_managed",
......
......@@ -29,7 +29,6 @@
* "storage_schema" = "Drupal\user\UserStorageSchema",
* "access" = "Drupal\user\UserAccessControlHandler",
* "list_builder" = "Drupal\user\UserListBuilder",
* "view_builder" = "Drupal\Core\Entity\EntityViewBuilder",
* "views_data" = "Drupal\user\UserViewsData",
* "route_provider" = {
* "html" = "Drupal\user\Entity\UserRouteProvider",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment