You are here

public function ViewUI::getEntityType in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/views_ui/src/ViewUI.php \Drupal\views_ui\ViewUI::getEntityType()
  2. 10 core/modules/views_ui/src/ViewUI.php \Drupal\views_ui\ViewUI::getEntityType()

Gets the entity type definition.

Return value

\Drupal\Core\Entity\EntityTypeInterface The entity type definition.

Overrides EntityInterface::getEntityType

File

core/modules/views_ui/src/ViewUI.php, line 951

Class

ViewUI
Stores UI related temporary settings.

Namespace

Drupal\views_ui

Code

public function getEntityType() {
  return $this->storage
    ->getEntityType();
}