You are here

public function ViewUI::getConfigTarget in Drupal 10

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

Gets the configuration target identifier for the entity.

Used to supply the correct format for storing a reference targeting this entity in configuration.

Return value

string The configuration target identifier.

Overrides EntityInterface::getConfigTarget

File

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

Class

ViewUI
Stores UI related temporary settings.

Namespace

Drupal\views_ui

Code

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