SetDialogOptionCommand::__construct

public SetDialogOptionCommand::__construct($selector, $option_name, $option_value) Constructs a SetDialogOptionCommand object. Parameters string $selector: The selector of the dialog whose title will be set. If set to an empty value, the default modal dialog will be selected. string $option_name: The name of the option to set. May be any jQuery UI dialog option. See http://api.jqueryui.com/dialog. mixed $option_value: The value of the option to be passed to the dialog. File core/lib/Drupal/Cor

DrupalKernelInterface::boot

public DrupalKernelInterface::boot() Boots the current kernel. Return value $this File core/lib/Drupal/Core/DrupalKernelInterface.php, line 22 Class DrupalKernelInterface The interface for DrupalKernel, the core of Drupal. Namespace Drupal\Core Code public function boot();

EntityStorageBase::load

public EntityStorageBase::load($id) Loads one entity. Parameters mixed $id: The ID of the entity to load. Return value \Drupal\Core\Entity\EntityInterface|null An entity object. NULL if no matching entity is found. Overrides EntityStorageInterface::load File core/lib/Drupal/Core/Entity/EntityStorageBase.php, line 211 Class EntityStorageBase A base entity storage class. Namespace Drupal\Core\Entity Code public function load($id) { $entities = $this->loadMultiple(array($id)); re

BlockAddController

Controller for building the block instance add form. Hierarchy class \Drupal\Core\Controller\ControllerBase implements ContainerInjectionInterface uses LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\block\Controller\BlockAddController File core/modules/block/src/Controller/BlockAddController.php, line 10 Namespace Drupal\block\Controller Members Name Modifiers Type Description BlockAddController::blockA

template_preprocess_views_view_row_opml

template_preprocess_views_view_row_opml(&$variables) Prepares variables for views OPML item templates. Default template: views-view-row-opml.html.twig. Parameters array $variables: An associative array containing: row: The raw results rows. File core/modules/views/views.theme.inc, line 970 Preprocessors and helper functions to make theming easier. Code function template_preprocess_views_view_row_opml(&$variables) { $item = $variables['row']; $variables['attributes'] = new Att

StringStorageInterface::getStrings

public StringStorageInterface::getStrings(array $conditions = array(), array $options = array()) Loads multiple source string objects. Parameters array $conditions: (optional) Array with conditions that will be used to filter the strings returned and may include any of the following elements: Any simple field value indexed by field name. 'translated', TRUE to get only translated strings or FALSE to get only untranslated strings. If not set it returns both translated and untranslated strings th

CommandWithAttachedAssetsTrait

Trait for Ajax commands that render content and attach assets. Hierarchy trait \Drupal\Core\Ajax\CommandWithAttachedAssetsTrait Related topics Ajax API Overview for Drupal's Ajax API. File core/lib/Drupal/Core/Ajax/CommandWithAttachedAssetsTrait.php, line 12 Namespace Drupal\Core\Ajax Members Name Modifiers Type Description CommandWithAttachedAssetsTrait::$attachedAssets protected property The attached assets for this Ajax command. CommandWithAttachedAssetsTrait::get

menu_ui_node_predelete

menu_ui_node_predelete(EntityInterface $node) Implements hook_ENTITY_TYPE_predelete() for node entities. File core/modules/menu_ui/menu_ui.module, line 169 Allows administrators to customize the site's navigation menus. Code function menu_ui_node_predelete(EntityInterface $node) { // Delete all MenuLinkContent links that point to this node. /** @var \Drupal\Core\Menu\MenuLinkManagerInterface $menu_link_manager */ $menu_link_manager = \Drupal::service('plugin.manager.menu.link'); $resu

ConfigImporter::$errors

A log of any errors encountered. If errors are logged during the validation event the configuration synchronization will not occur. If errors occur during an import then best efforts are made to complete the synchronization. Type: array File core/lib/Drupal/Core/Config/ConfigImporter.php, line 138 Class ConfigImporter Defines a configuration importer. Namespace Drupal\Core\Config Code protected $errors = array();

template_preprocess_views_view_unformatted

template_preprocess_views_view_unformatted(&$variables) Prepares variables for views unformatted rows templates. Default template: views-view-unformatted.html.twig. Parameters array $variables: An associative array containing: view: The view object. rows: An array of row items. Each row is an array of content. File core/modules/views/views.theme.inc, line 776 Preprocessors and helper functions to make theming easier. Code function template_preprocess_views_view_unformatted(&$vari