MenuLinkInterface::getRouteParameters

public MenuLinkInterface::getRouteParameters() Returns the route parameters, if available. Return value array An array of parameter names and values. File core/lib/Drupal/Core/Menu/MenuLinkInterface.php, line 119 Class MenuLinkInterface Defines an interface for classes providing a type of menu link. Namespace Drupal\Core\Menu Code public function getRouteParameters();

outside_in_block_alter

outside_in_block_alter(&$definitions) Implements hook_block_alter(). File core/modules/outside_in/outside_in.module, line 131 Allows configuring blocks and other configuration from the site front-end. Code function outside_in_block_alter(&$definitions) { if (!empty($definitions['system_branding_block'])) { $definitions['system_branding_block']['forms']['offcanvas'] = SystemBrandingOffCanvasForm::class; } // Since menu blocks use derivatives, check the definition ID instead

MenuLinkManagerInterface::resetLink

public MenuLinkManagerInterface::resetLink($id) Resets the values for a menu link based on the values found by discovery. Parameters string $id: The menu link plugin ID. Return value \Drupal\Core\Menu\MenuLinkInterface The menu link instance after being reset. Throws \Drupal\Component\Plugin\Exception\PluginException Thrown if the $id is not a valid, existing, plugin ID or if the link cannot be reset. File core/lib/Drupal/Core/Menu/MenuLinkManagerInterface.php, line 134 Class MenuLinkMan

NodeType

Defines the Node type configuration entity. Plugin annotation @ConfigEntityType( id = "node_type", label = @Translation("Content type"), handlers = { "access" = "Drupal\node\NodeTypeAccessControlHandler", "form" = { "add" = "Drupal\node\NodeTypeForm", "edit" = "Drupal\node\NodeTypeForm", "delete" = "Drupal\node\Form\NodeTypeDeleteConfirm" }, "list_builder" = "Drupal\node\NodeTypeListBuilder", }, admin_permission = "administer content types", config_

ConfigCrudEvent::$config

Configuration object. Type: \Drupal\Core\Config\Config File core/lib/Drupal/Core/Config/ConfigCrudEvent.php, line 17 Class ConfigCrudEvent Wraps a configuration event for event listeners. Namespace Drupal\Core\Config Code protected $config;

RedirectDestination::get

public RedirectDestination::get() Gets the destination as a path. To convert to a URL suitable for \Symfony\Component\HttpFoundation\RedirectResponse::__construct() use \Drupal\Core\Url::fromUserInput(\Drupal::destination()->get())->setAbsolute()->toString() Return value string Overrides RedirectDestinationInterface::get File core/lib/Drupal/Core/Routing/RedirectDestination.php, line 57 Class RedirectDestination Provides helpers for redirect destinations. Namespace Drupal\Cor

StringBase::$source

The source string. Type: string File core/modules/locale/src/StringBase.php, line 31 Class StringBase Defines the locale string base class. Namespace Drupal\locale Code public $source;

Attribute::addClass

public Attribute::addClass() Adds classes or merges them on to array of existing CSS classes. Parameters string|array ...: CSS classes to add to the class attribute array. Return value $this File core/lib/Drupal/Core/Template/Attribute.php, line 170 Class Attribute Collects, sanitizes, and renders HTML attributes. Namespace Drupal\Core\Template Code public function addClass() { $args = func_get_args(); if ($args) { $classes = array(); foreach ($args as $arg) { // Me

FormAjaxException::getForm

public FormAjaxException::getForm() Gets the form definition. Return value array The form structure. File core/lib/Drupal/Core/Form/FormAjaxException.php, line 50 Class FormAjaxException Custom exception to break out of AJAX form processing. Namespace Drupal\Core\Form Code public function getForm() { return $this->form; }

options_field_views_data

options_field_views_data(FieldStorageConfigInterface $field) Implements hook_field_views_data(). Views integration for list fields. Have a different filter handler and argument handlers for list fields. This should allow to select values of the list. File core/modules/options/options.views.inc, line 19 Provide Views data for options.module. Code function options_field_views_data(FieldStorageConfigInterface $field) { $data = views_field_default_views_data($field); foreach ($data as $table