MenuLinkResetForm::getDescription

public MenuLinkResetForm::getDescription() Returns additional text to display as a description. Return value string The form description. Overrides ConfirmFormBase::getDescription File core/modules/menu_ui/src/Form/MenuLinkResetForm.php, line 77 Class MenuLinkResetForm Defines a confirmation form for resetting a single modified menu link. Namespace Drupal\menu_ui\Form Code public function getDescription() { return $this->t('Any customizations will be lost. This action cannot be u

DisallowBasicAuthRequests::check

public DisallowBasicAuthRequests::check(Request $request) Determines whether delivery of a cached page should be attempted. Note that the request-policy check runs very early. In particular it is not possible to determine the logged in user. Also the current route match is not yet present when the check runs. Therefore, request-policy checks need to be designed in a way such that they do not depend on any other service and only take in account the information present on the incoming request. Wh

LanguageConfigFactoryOverride::$baseStorage

The configuration storage. Do not access this directly. Should be accessed through self::getStorage() so that the cache of storages per langcode is used. Type: \Drupal\Core\Config\StorageInterface File core/modules/language/src/Config/LanguageConfigFactoryOverride.php, line 32 Class LanguageConfigFactoryOverride Provides language overrides for the configuration factory. Namespace Drupal\language\Config Code protected $baseStorage;

LanguageConfigFactoryOverride::loadOverrides

public LanguageConfigFactoryOverride::loadOverrides($names) Returns config overrides. Parameters array $names: A list of configuration names that are being loaded. Return value array An array keyed by configuration name of override data. Override data contains a nested array structure of overrides. Overrides ConfigFactoryOverrideInterface::loadOverrides File core/modules/language/src/Config/LanguageConfigFactoryOverride.php, line 81 Class LanguageConfigFactoryOverride Provides language o

ViewsExposedForm::$help

A short help string; this is displayed in the views UI. Type: \Drupal\Core\Annotation\Translation Related topics Annotation for translatable text Describes how to put translatable UI text into annotations. File core/modules/views/src/Annotation/ViewsExposedForm.php, line 49 Class ViewsExposedForm Defines a Plugin annotation object for views exposed form plugins. Namespace Drupal\views\Annotation Code public $help = '';

AssetDumper

Dumps a CSS or JavaScript asset. Hierarchy class \Drupal\Core\Asset\AssetDumper implements AssetDumperInterface File core/lib/Drupal/Core/Asset/AssetDumper.php, line 10 Namespace Drupal\Core\Asset Members Name Modifiers Type Description AssetDumper::dump public function The file name for the CSS or JS cache file is generated from the hash of the aggregated contents of the files in $data. This forces proxies and browsers to download new CSS when the CSS changes. Overrides

block_content_add_body_field

block_content_add_body_field($block_type_id, $label = 'Body') Adds the default body field to a custom block type. Parameters string $block_type_id: Id of the block type. string $label: (optional) The label for the body instance. Defaults to 'Body' Return value \Drupal\field\Entity\FieldConfig A Body field object. File core/modules/block_content/block_content.module, line 78 Allows the creation of custom blocks through the user interface. Code function block_content_add_body_field($block_typ

YamlFileLoader::loadFile

protected YamlFileLoader::loadFile($file) Loads a YAML file. Parameters string $file: Return value array The file content Throws InvalidArgumentException When the given file is not a local file or when it does not exist. File core/lib/Drupal/Core/DependencyInjection/YamlFileLoader.php, line 333 Class YamlFileLoader YamlFileLoader loads YAML files service definitions. Namespace Drupal\Core\DependencyInjection Code protected function loadFile($file) { if (!stream_is_local($file))

Term::setDescription

public Term::setDescription($description) Sets the term's description. Parameters string $description: The term's description. Return value $this Overrides TermInterface::setDescription File core/modules/taxonomy/src/Entity/Term.php, line 180 Class Term Defines the taxonomy term entity. Namespace Drupal\taxonomy\Entity Code public function setDescription($description) { $this->set('description', $description); return $this; }

FormAjaxResponseBuilder::$routeMatch

The current route match. Type: \Drupal\Core\Routing\RouteMatchInterface File core/lib/Drupal/Core/Form/FormAjaxResponseBuilder.php, line 32 Class FormAjaxResponseBuilder Builds an AJAX form response. Namespace Drupal\Core\Form Code protected $routeMatch;