VariantInterface::setWeight

public VariantInterface::setWeight($weight) Sets the weight of the display variant. Parameters int $weight: The weight to set. File core/lib/Drupal/Core/Display/VariantInterface.php, line 61 Class VariantInterface Provides an interface for DisplayVariant plugins. Namespace Drupal\Core\Display Code public function setWeight($weight);

VariantManager

Manages discovery of display variant plugins. Hierarchy class \Drupal\Component\Plugin\PluginManagerBase implements PluginManagerInterface uses DiscoveryTraitclass \Drupal\Core\Plugin\DefaultPluginManager implements CachedDiscoveryInterface, PluginManagerInterface, CacheableDependencyInterface uses DiscoveryCachedTrait, UseCacheBackendTraitclass \Drupal\Core\Display\VariantManager See also \Drupal\Core\Display\Annotation\DisplayVariant \Drupal\Core\Display\VariantInterface \Drupal\Core\Di

VariantManager::__construct

public VariantManager::__construct(\Traversable $namespaces, CacheBackendInterface $cache_backend, ModuleHandlerInterface $module_handler) Constructs a new VariantManager. Parameters \Traversable $namespaces: An object that implements \Traversable which contains the root paths keyed by the corresponding namespace to look for plugin implementations. \Drupal\Core\Cache\CacheBackendInterface $cache_backend: Cache backend instance to use. \Drupal\Core\Extension\ModuleHandlerInterface $module_handl

vertical-tabs.html.twig

Default theme implementation for vertical tabs. Available variables attributes: A list of HTML attributes for the wrapper element. children: The rendered tabs. See also template_preprocess_vertical_tabs() File core/modules/system/templates/vertical-tabs.html.twig Related topics Theme system overview Functions and templates for the user interface that themes can override.

VerticalTabs

Provides a render element for vertical tabs in a form. Formats all child and non-child details elements whose #group is assigned this element's name as vertical tabs. Properties: #default_tab: The HTML ID of the rendered details element to be used as the default tab. View the source of the rendered page to determine the ID. Usage example: $form['information'] = array( '#type' => 'vertical_tabs', '#default_tab' => 'edit-publication', ); $form['author'] = array( '#type' => 'det

VerticalTabs::getInfo

public VerticalTabs::getInfo() Returns the element properties for this element. Return value array An array of element properties. See \Drupal\Core\Render\ElementInfoManagerInterface::getInfo() for documentation of the standard properties of all elements, and the return value format. Overrides ElementInterface::getInfo File core/lib/Drupal/Core/Render/Element/VerticalTabs.php, line 55 Class VerticalTabs Provides a render element for vertical tabs in a form. Namespace Drupal\Core\Render

VerticalTabs::preRenderVerticalTabs

public static VerticalTabs::preRenderVerticalTabs($element) Prepares a vertical_tabs element for rendering. Parameters array $element: An associative array containing the properties and children of the vertical tabs element. Return value array The modified element. File core/lib/Drupal/Core/Render/Element/VerticalTabs.php, line 79 Class VerticalTabs Provides a render element for vertical tabs in a form. Namespace Drupal\Core\Render\Element Code public static function preRenderVertica

VerticalTabs::processVerticalTabs

public static VerticalTabs::processVerticalTabs(&$element, FormStateInterface $form_state, &$complete_form) Creates a group formatted as vertical tabs. Parameters array $element: An associative array containing the properties and children of the details element. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. array $complete_form: The complete form structure. Return value array The processed element. File core/lib/Drupal/Core/Render/Element/VerticalTab

View

Defines a View configuration entity class. Plugin annotation @ConfigEntityType( id = "view", label = @Translation("View", context = "View entity type"), handlers = { "access" = "Drupal\views\ViewAccessControlHandler" }, admin_permission = "administer views", entity_keys = { "id" = "id", "label" = "label", "status" = "status" }, config_export = { "id", "label", "module", "description", "tag", "base_table", "base_field", "core",

View

Provides a render element to display a view. Plugin annotation @RenderElement("view") Hierarchy class \Drupal\Component\Plugin\PluginBase implements DerivativeInspectionInterface, PluginInspectionInterfaceclass \Drupal\Core\Plugin\PluginBase uses DependencySerializationTrait, StringTranslationTraitclass \Drupal\Core\Render\Element\RenderElement implements ElementInterfaceclass \Drupal\views\Element\View File core/modules/views/src/Element/View.php, line 13 Namespace Drupal\views\Elem