You are here

public function ViewUI::bundle in Drupal 8

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

Gets the bundle of the entity.

Return value

string The bundle of the entity. Defaults to the entity type ID if the entity type does not make use of different bundles.

Overrides EntityInterface::bundle

File

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

Class

ViewUI
Stores UI related temporary settings.

Namespace

Drupal\views_ui

Code

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