ViewUI::__construct

public ViewUI::__construct(ViewEntityInterface $storage) Constructs a View UI object. Parameters \Drupal\views\ViewEntityInterface $storage: The View storage object to wrap. File core/modules/views_ui/src/ViewUI.php, line 144 Class ViewUI Stores UI related temporary settings. Namespace Drupal\views_ui Code public function __construct(ViewEntityInterface $storage) { $this->entityType = 'view'; $this->storage = $storage; }

ViewUIConverter

Provides upcasting for a view entity to be used in the Views UI. Example: pattern: '/some/{view}/and/{bar}' options: parameters: view: type: 'entity:view' tempstore: TRUE The value for {view} will be converted to a view entity prepared for the Views UI and loaded from the views temp store, but it will not touch the value for {bar}. Hierarchy class \Drupal\Core\ParamConverter\EntityConverter implements ParamConverterInterfaceclass \Drupal\Core\ParamConverter\AdminPathConfigEntityConverterclass \

ViewUIConverter::$tempStoreFactory

Stores the tempstore factory. Type: \Drupal\user\SharedTempStoreFactory File core/modules/views_ui/src/ParamConverter/ViewUIConverter.php, line 37 Class ViewUIConverter Provides upcasting for a view entity to be used in the Views UI. Namespace Drupal\views_ui\ParamConverter Code protected $tempStoreFactory;

ViewUIConverter::applies

public ViewUIConverter::applies($definition, $name, Route $route) Determines if the converter applies to a specific route and variable. Parameters mixed $definition: The parameter definition provided in the route options. string $name: The name of the parameter. \Symfony\Component\Routing\Route $route: The route to consider attaching to. Return value bool TRUE if the converter applies to the passed route and parameter, FALSE otherwise. Overrides AdminPathConfigEntityConverter::applies File co

ViewUIConverter::convert

public ViewUIConverter::convert($value, $definition, $name, array $defaults) Converts path variables to their corresponding objects. Parameters mixed $value: The raw value. mixed $definition: The parameter definition provided in the route options. string $name: The name of the parameter. array $defaults: The route defaults array. Return value mixed|null The converted parameter value. Overrides AdminPathConfigEntityConverter::convert File core/modules/views_ui/src/ParamConverter/ViewUIConverte

ViewUIConverter::__construct

public ViewUIConverter::__construct(EntityManagerInterface $entity_manager, SharedTempStoreFactory $temp_store_factory, ConfigFactoryInterface $config_factory = NULL, AdminContext $admin_context = NULL) Constructs a new ViewUIConverter. Parameters \Drupal\Core\Entity\EntityManagerInterface $entity_manager: The entity manager. \Drupal\user\SharedTempStoreFactory $temp_store_factory: The factory for the temp store object. Overrides AdminPathConfigEntityConverter::__construct File core/modules/vi

Vocabulary

Defines the taxonomy vocabulary entity. Plugin annotation @ConfigEntityType( id = "taxonomy_vocabulary", label = @Translation("Taxonomy vocabulary"), handlers = { "storage" = "Drupal\taxonomy\VocabularyStorage", "list_builder" = "Drupal\taxonomy\VocabularyListBuilder", "form" = { "default" = "Drupal\taxonomy\VocabularyForm", "reset" = "Drupal\taxonomy\Form\VocabularyResetForm", "delete" = "Drupal\taxonomy\Form\VocabularyDeleteForm" } }, admin_permissi

Vocabulary::$description

Description of the vocabulary. Type: string File core/modules/taxonomy/src/Entity/Vocabulary.php, line 70 Class Vocabulary Defines the taxonomy vocabulary entity. Namespace Drupal\taxonomy\Entity Code protected $description;

Vocabulary::$hierarchy

The type of hierarchy allowed within the vocabulary. Possible values: VocabularyInterface::HIERARCHY_DISABLED: No parents. VocabularyInterface::HIERARCHY_SINGLE: Single parent. VocabularyInterface::HIERARCHY_MULTIPL: Multiple parents. Type: int File core/modules/taxonomy/src/Entity/Vocabulary.php, line 82 Class Vocabulary Defines the taxonomy vocabulary entity. Namespace Drupal\taxonomy\Entity Code protected $hierarchy = VocabularyInterface::HIERARCHY_DISABLED;

Vocabulary::$name

Name of the vocabulary. Type: string File core/modules/taxonomy/src/Entity/Vocabulary.php, line 63 Class Vocabulary Defines the taxonomy vocabulary entity. Namespace Drupal\taxonomy\Entity Code protected $name;