public function ViewUI::bundle in Drupal 10
Same name and namespace in other branches
- 8 core/modules/views_ui/src/ViewUI.php \Drupal\views_ui\ViewUI::bundle()
- 9 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 941
Class
- ViewUI
- Stores UI related temporary settings.
Namespace
Drupal\views_uiCode
public function bundle() {
return $this->storage
->bundle();
}