EntityViewBuilder::getCacheTags |
function |
core/lib/Drupal/Core/Entity/EntityViewBuilder.php |
The cache tag associated with this entity view builder. |
EntityViewBuilder::getSingleFieldDisplay |
function |
core/lib/Drupal/Core/Entity/EntityViewBuilder.php |
Gets an EntityViewDisplay for rendering an individual field. |
EntityViewBuilder::isViewModeCacheable |
function |
core/lib/Drupal/Core/Entity/EntityViewBuilder.php |
Determines whether the view mode is cacheable. |
EntityViewBuilder::resetCache |
function |
core/lib/Drupal/Core/Entity/EntityViewBuilder.php |
Resets the entity render cache. |
EntityViewBuilder::trustedCallbacks |
function |
core/lib/Drupal/Core/Entity/EntityViewBuilder.php |
Lists the trusted callbacks provided by the implementing class. |
EntityViewBuilder::view |
function |
core/lib/Drupal/Core/Entity/EntityViewBuilder.php |
Builds the render array for the provided entity. |
EntityViewBuilder::viewField |
function |
core/lib/Drupal/Core/Entity/EntityViewBuilder.php |
Builds a renderable array for the value of a single field in an entity. |
EntityViewBuilder::viewFieldItem |
function |
core/lib/Drupal/Core/Entity/EntityViewBuilder.php |
Builds a renderable array for a single field item. |
EntityViewBuilder::viewMultiple |
function |
core/lib/Drupal/Core/Entity/EntityViewBuilder.php |
Builds the render array for the provided entities. |
EntityViewBuilder::__construct |
function |
core/lib/Drupal/Core/Entity/EntityViewBuilder.php |
Constructs a new EntityViewBuilder. |
EntityViewBuilderInterface |
interface |
core/lib/Drupal/Core/Entity/EntityViewBuilderInterface.php |
Defines an interface for entity view builders. |
EntityViewBuilderInterface.php |
file |
core/lib/Drupal/Core/Entity/EntityViewBuilderInterface.php |
|
EntityViewBuilderInterface::buildComponents |
function |
core/lib/Drupal/Core/Entity/EntityViewBuilderInterface.php |
Builds the component fields and properties of a set of entities. |
EntityViewBuilderInterface::getCacheTags |
function |
core/lib/Drupal/Core/Entity/EntityViewBuilderInterface.php |
The cache tag associated with this entity view builder. |
EntityViewBuilderInterface::resetCache |
function |
core/lib/Drupal/Core/Entity/EntityViewBuilderInterface.php |
Resets the entity render cache. |
EntityViewBuilderInterface::view |
function |
core/lib/Drupal/Core/Entity/EntityViewBuilderInterface.php |
Builds the render array for the provided entity. |
EntityViewBuilderInterface::viewField |
function |
core/lib/Drupal/Core/Entity/EntityViewBuilderInterface.php |
Builds a renderable array for the value of a single field in an entity. |
EntityViewBuilderInterface::viewFieldItem |
function |
core/lib/Drupal/Core/Entity/EntityViewBuilderInterface.php |
Builds a renderable array for a single field item. |
EntityViewBuilderInterface::viewMultiple |
function |
core/lib/Drupal/Core/Entity/EntityViewBuilderInterface.php |
Builds the render array for the provided entities. |
EntityViewBuilderTest |
class |
core/tests/Drupal/KernelTests/Core/Entity/EntityViewBuilderTest.php |
Tests the entity view builder. |
EntityViewBuilderTest.php |
file |
core/tests/Drupal/KernelTests/Core/Entity/EntityViewBuilderTest.php |
|
EntityViewBuilderTest::createTestEntity |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityViewBuilderTest.php |
Creates an entity for testing. |
EntityViewBuilderTest::setUp |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityViewBuilderTest.php |
|
EntityViewBuilderTest::testEntityViewBuilderCache |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityViewBuilderTest.php |
Tests entity render cache handling. |
EntityViewBuilderTest::testEntityViewBuilderCacheToggling |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityViewBuilderTest.php |
Tests entity render cache toggling. |
EntityViewBuilderTest::testEntityViewBuilderCacheWithReferences |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityViewBuilderTest.php |
Tests entity render cache with references. |
EntityViewBuilderTest::testEntityViewBuilderWeight |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityViewBuilderTest.php |
Tests weighting of display components. |
EntityViewBuilderTest::testExternalEntity |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityViewBuilderTest.php |
Tests an entity type with an external canonical rel. |
EntityViewBuilderTest::testHookEntityTypeViewModeAlter |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityViewBuilderTest.php |
Tests a view mode alter on an entity. |
EntityViewBuilderTest::testNoTemplate |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityViewBuilderTest.php |
Tests that viewing an entity without template does not specify #theme. |
EntityViewBuilderTest::testViewField |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityViewBuilderTest.php |
Tests EntityViewBuilder::viewField() language awareness. |
EntityViewController |
class |
core/lib/Drupal/Core/Entity/Controller/EntityViewController.php |
Defines a generic controller to render a single entity. |
EntityViewController.php |
file |
core/lib/Drupal/Core/Entity/Controller/EntityViewController.php |
|
EntityViewController::$entityTypeManager |
property |
core/lib/Drupal/Core/Entity/Controller/EntityViewController.php |
The entity type manager. |
EntityViewController::$renderer |
property |
core/lib/Drupal/Core/Entity/Controller/EntityViewController.php |
The renderer service. |
EntityViewController::buildTitle |
function |
core/lib/Drupal/Core/Entity/Controller/EntityViewController.php |
Pre-render callback to build the page title. |
EntityViewController::create |
function |
core/lib/Drupal/Core/Entity/Controller/EntityViewController.php |
Instantiates a new instance of this class. |
EntityViewController::trustedCallbacks |
function |
core/lib/Drupal/Core/Entity/Controller/EntityViewController.php |
Lists the trusted callbacks provided by the implementing class. |
EntityViewController::view |
function |
core/lib/Drupal/Core/Entity/Controller/EntityViewController.php |
Provides a page to render a single entity. |
EntityViewController::__construct |
function |
core/lib/Drupal/Core/Entity/Controller/EntityViewController.php |
Creates an EntityViewController object. |
EntityViewControllerTest |
class |
core/modules/system/tests/src/Functional/Entity/EntityViewControllerTest.php |
Tests EntityViewController functionality. |
EntityViewControllerTest.php |
file |
core/modules/system/tests/src/Functional/Entity/EntityViewControllerTest.php |
|
EntityViewControllerTest::$defaultTheme |
property |
core/modules/system/tests/src/Functional/Entity/EntityViewControllerTest.php |
The theme to install as the default for testing. |
EntityViewControllerTest::$entities |
property |
core/modules/system/tests/src/Functional/Entity/EntityViewControllerTest.php |
Array of test entities. |
EntityViewControllerTest::$modules |
property |
core/modules/system/tests/src/Functional/Entity/EntityViewControllerTest.php |
Modules to install. |
EntityViewControllerTest::createTestEntity |
function |
core/modules/system/tests/src/Functional/Entity/EntityViewControllerTest.php |
Creates an entity for testing. |
EntityViewControllerTest::setUp |
function |
core/modules/system/tests/src/Functional/Entity/EntityViewControllerTest.php |
|
EntityViewControllerTest::testEntityViewController |
function |
core/modules/system/tests/src/Functional/Entity/EntityViewControllerTest.php |
Tests EntityViewController. |
EntityViewControllerTest::testEntityViewControllerViewBuilder |
function |
core/modules/system/tests/src/Functional/Entity/EntityViewControllerTest.php |
Tests that a view builder can successfully override the view builder. |
EntityViewControllerTest::testFieldItemAttributes |
function |
core/modules/system/tests/src/Functional/Entity/EntityViewControllerTest.php |
Tests field item attributes. |