FieldStorageConfigInterface::setSetting

public FieldStorageConfigInterface::setSetting($setting_name, $value) Sets the value for a field setting by name. Parameters string $setting_name: The name of the setting. mixed $value: The value of the setting. Return value $this File core/modules/field/src/FieldStorageConfigInterface.php, line 91 Class FieldStorageConfigInterface Provides an interface defining a field storage entity. Namespace Drupal\field Code public function setSetting($setting_name, $value);

FilterController::getLabel

public FilterController::getLabel(FilterFormatInterface $filter_format) Gets the label of a filter format. Parameters \Drupal\filter\FilterFormatInterface $filter_format: The filter format. Return value string The label of the filter format. File core/modules/filter/src/Controller/FilterController.php, line 45 Class FilterController Controller routines for filter routes. Namespace Drupal\filter\Controller Code public function getLabel(FilterFormatInterface $filter_format) { return

CurrentPathStack

Represents the current path for the current request. Note: You should not rely on paths but rather on route names / parameters or other indicators like context. For some fundamental parts, like routing or path processing, there is unfortunately no way around dealing with paths. Hierarchy class \Drupal\Core\Path\CurrentPathStack File core/lib/Drupal/Core/Path/CurrentPathStack.php, line 13 Namespace Drupal\Core\Path Members Name Modifiers Type Description CurrentPathStack::$path

ReverseProxyMiddleware::$settings

The site settings. Type: \Drupal\Core\Site\Settings File core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php, line 26 Class ReverseProxyMiddleware Provides support for reverse proxies. Namespace Drupal\Core\StackMiddleware Code protected $settings;

DiffFormatter::$show_header

Should a block header be shown? File core/lib/Drupal/Component/Diff/DiffFormatter.php, line 21 Class DiffFormatter A class to format Diffs Namespace Drupal\Component\Diff Code public $show_header = TRUE;

BlockContentType::getDescription

public BlockContentType::getDescription() Returns the description of the block type. Return value string The description of the type of this block. Overrides BlockContentTypeInterface::getDescription File core/modules/block_content/src/Entity/BlockContentType.php, line 76 Class BlockContentType Defines the custom block type entity. Namespace Drupal\block_content\Entity Code public function getDescription() { return $this->description; }

SharedTempStore::get

public SharedTempStore::get($key) Retrieves a value from this SharedTempStore for a given key. Parameters string $key: The key of the data to retrieve. Return value mixed The data associated with the key, or NULL if the key does not exist. File core/modules/user/src/SharedTempStore.php, line 110 Class SharedTempStore Stores and retrieves temporary data for a given owner. Namespace Drupal\user Code public function get($key) { if ($object = $this->storage->get($key)) { retu

DrupalTranslator::transChoice

public DrupalTranslator::transChoice($id, $number, array $parameters = array(), $domain = NULL, $locale = NULL) Translates the given choice message by choosing a translation according to a number. Parameters string $id The message id (may also be an object that can be cast to string): int $number The number to use to find the indice of the message: array $parameters An array of parameters for the message: string|null $domain The domain for the message or null to use the default: string|null $l

hook_template_preprocess_default_variables_alter

hook_template_preprocess_default_variables_alter(&$variables) Alter the default, hook-independent variables for all templates. Allows modules to provide additional default template variables or manipulate existing. This hook is invoked from template_preprocess() after basic default template variables have been set up and before the next template preprocess function is invoked. Note that the default template variables are statically cached within a request. When adding a template variable th

ConfigBase::set

public ConfigBase::set($key, $value) Sets a value in this configuration object. Parameters string $key: Identifier to store value in configuration. mixed $value: Value to associate with identifier. Return value $this The configuration object. Throws \Drupal\Core\Config\ConfigValueException If $value is an array and any of its keys in any depth contains a dot. File core/lib/Drupal/Core/Config/ConfigBase.php, line 180 Class ConfigBase Provides a base class for configuration objects with g