function EntityTranslationRenderTrait::getEntityTypeManager
Returns the entity type manager.
Return value
\Drupal\Core\Entity\EntityTypeManagerInterface The entity type manager.
7 methods override EntityTranslationRenderTrait::getEntityTypeManager()
- BulkForm::getEntityTypeManager in core/
modules/ views/ src/ Plugin/ views/ field/ BulkForm.php - Returns the entity type manager.
- DataEntityRow::getEntityTypeManager in core/
modules/ rest/ src/ Plugin/ views/ row/ DataEntityRow.php - Returns the entity type manager.
- EntityFieldRenderer::getEntityTypeManager in core/
modules/ views/ src/ Entity/ Render/ EntityFieldRenderer.php - Returns the entity type manager.
- EntityOperations::getEntityTypeManager in core/
modules/ views/ src/ Plugin/ views/ field/ EntityOperations.php - Returns the entity type manager.
- EntityRow::getEntityTypeManager in core/
modules/ views/ src/ Plugin/ views/ row/ EntityRow.php - Returns the entity type manager.
File
-
core/
modules/ views/ src/ Entity/ Render/ EntityTranslationRenderTrait.php, line 96
Class
- EntityTranslationRenderTrait
- Trait used to instantiate the view's entity translation renderer.
Namespace
Drupal\views\Entity\RenderCode
protected function getEntityTypeManager() {
@trigger_error('Classes that use EntityTranslationRenderTrait must provide a getEntityTypeManager() method since drupal:8.7.0. This implementation will become abstract before Drupal 9.0.0. See https://www.drupal.org/node/2549139.', E_USER_DEPRECATED);
return \Drupal::entityTypeManager();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.