AttachedAssetsInterface::setLibraries

public AttachedAssetsInterface::setLibraries(array $libraries) Sets the asset libraries attached to the current response. Parameters string[] $libraries: A list of libraries, in the order they should be loaded. Return value $this File core/lib/Drupal/Core/Asset/AttachedAssetsInterface.php, line 38 Class AttachedAssetsInterface The attached assets collection for the current response. Namespace Drupal\Core\Asset Code public function setLibraries(array $libraries);

SystemMenuOffCanvasForm::create

public static SystemMenuOffCanvasForm::create(ContainerInterface $container) Instantiates a new instance of this class. This is a factory method that returns a new instance of this class. The factory should pass any needed dependencies into the constructor of this class, but not the container itself. Every call to this method must return a new instance of this class; that is, it may not implement a singleton. Parameters \Symfony\Component\DependencyInjection\ContainerInterface $container: The

Element::__construct

public Element::__construct(PluginManagerInterface $plugin_manager) Constructs a new Element object. Parameters \Drupal\Component\Plugin\PluginManagerInterface $plugin_manager: The Text Editor plugin manager service. File core/modules/editor/src/Element.php, line 28 Class Element Defines a service for Text Editor's render elements. Namespace Drupal\editor Code public function __construct(PluginManagerInterface $plugin_manager) { $this->pluginManager = $plugin_manager; }

DefaultExceptionHtmlSubscriber::$accessUnawareRouter

A router implementation which does not check access. Type: \Symfony\Component\Routing\Matcher\UrlMatcherInterface File core/lib/Drupal/Core/EventSubscriber/DefaultExceptionHtmlSubscriber.php, line 45 Class DefaultExceptionHtmlSubscriber Exception subscriber for handling core default HTML error pages. Namespace Drupal\Core\EventSubscriber Code protected $accessUnawareRouter;

Url::toRenderArray

public Url::toRenderArray() Returns the route information for a render array. Return value array An associative array suitable for a render array. File core/lib/Drupal/Core/Url.php, line 744 Class Url Defines an object that holds information about a URL. Namespace Drupal\Core Code public function toRenderArray() { $render_array = [ '#url' => $this, '#options' => $this->getOptions(), ]; if (!$this->unrouted) { $render_array['#access_callback'] = [get_class

FieldConfig::isDeleted

public FieldConfig::isDeleted() Gets the deleted flag of the field. Return value bool Returns TRUE if the field is deleted. Overrides FieldConfigInterface::isDeleted File core/modules/field/src/Entity/FieldConfig.php, line 275 Class FieldConfig Defines the Field entity. Namespace Drupal\field\Entity Code public function isDeleted() { return $this->deleted; }

Element

Defines a service for Text Editor's render elements. Hierarchy class \Drupal\editor\Element File core/modules/editor/src/Element.php, line 13 Namespace Drupal\editor Members Name Modifiers Type Description Element::$pluginManager protected property The Text Editor plugin manager service. Element::preRenderTextFormat function Additional #pre_render callback for 'text_format' elements. Element::__construct public function Constructs a new Element object.

PoWriterInterface

Shared interface definition for all Gettext PO Writers. Hierarchy interface \Drupal\Component\Gettext\PoMetadataInterfaceinterface \Drupal\Component\Gettext\PoWriterInterface File core/lib/Drupal/Component/Gettext/PoWriterInterface.php, line 8 Namespace Drupal\Component\Gettext Members Name Modifiers Type Description PoMetadataInterface::getHeader public function Get header metadata. PoMetadataInterface::getLangcode public function Get language code. PoMetadat

BaseFieldDefinition::getUniqueStorageIdentifier

public BaseFieldDefinition::getUniqueStorageIdentifier() Returns a unique identifier for the field. Return value string Overrides FieldStorageDefinitionInterface::getUniqueStorageIdentifier File core/lib/Drupal/Core/Field/BaseFieldDefinition.php, line 711 Class BaseFieldDefinition A class for defining entity fields. Namespace Drupal\Core\Field Code public function getUniqueStorageIdentifier() { return $this->getTargetEntityTypeId() . '-' . $this->getName(); }

LockBackendInterface::acquire

public LockBackendInterface::acquire($name, $timeout = 30.0) Acquires a lock. Parameters string $name: Lock name. Limit of name's length is 255 characters. float $timeout: (optional) Lock lifetime in seconds. Defaults to 30.0. Return value bool File core/lib/Drupal/Core/Lock/LockBackendInterface.php, line 76 Class LockBackendInterface Lock backend interface. Namespace Drupal\Core\Lock Code public function acquire($name, $timeout = 30.0);