function ViewUI::getEntityTypeId

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

Gets the ID of the type of the entity.

Return value

string The entity type ID.

Overrides EntityInterface::getEntityTypeId

File

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

Class

ViewUI
Stores UI related temporary settings.

Namespace

Drupal\views_ui

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.