function ViewsHandlerInterface::getEntityType
Same name in other branches
- 8.9.x core/modules/views/src/Plugin/views/ViewsHandlerInterface.php \Drupal\views\Plugin\views\ViewsHandlerInterface::getEntityType()
- 10 core/modules/views/src/Plugin/views/ViewsHandlerInterface.php \Drupal\views\Plugin\views\ViewsHandlerInterface::getEntityType()
- 11.x core/modules/views/src/Plugin/views/ViewsHandlerInterface.php \Drupal\views\Plugin\views\ViewsHandlerInterface::getEntityType()
Determines the entity type used by this handler.
If this handler uses a relationship, the base class of the relationship is taken into account.
Return value
string The machine name of the entity type.
1 method overrides ViewsHandlerInterface::getEntityType()
- HandlerBase::getEntityType in core/
modules/ views/ src/ Plugin/ views/ HandlerBase.php - Determines the entity type used by this handler.
File
-
core/
modules/ views/ src/ Plugin/ views/ ViewsHandlerInterface.php, line 30
Class
- ViewsHandlerInterface
- Provides an interface for all views handlers.
Namespace
Drupal\views\Plugin\viewsCode
public function getEntityType();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.