FormStateDecoratorBase::setValue

public FormStateDecoratorBase::setValue($key, $value) Sets the submitted form value for a specific key. Parameters string|array $key: Values are stored as a multi-dimensional associative array. If $key is a string, it will use $values[$key] = $value. If $key is an array, each element of the array will be used as a nested key. If $key = array('foo', 'bar') it will use $values['foo']['bar'] = $value. mixed $value: The value to set. Return value $this Overrides FormStateInterface::setValue File

ImageStyleDownloadController::create

public static ImageStyleDownloadController::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:

RouteMatch::$routeName

The route name. Type: string File core/lib/Drupal/Core/Routing/RouteMatch.php, line 20 Class RouteMatch Default object representing the results of routing. Namespace Drupal\Core\Routing Code protected $routeName;

FormValidator::$logger

A logger instance. Type: \Psr\Log\LoggerInterface File core/lib/Drupal/Core/Form/FormValidator.php, line 40 Class FormValidator Provides validation of form submissions. Namespace Drupal\Core\Form Code protected $logger;

CachedStorage::encode

public CachedStorage::encode($data) Encodes configuration data into the storage-specific format. This is a publicly accessible static method to allow for alternative usages in data conversion scripts and also tests. Parameters array $data: The configuration data to encode. Return value string The encoded configuration data. Overrides StorageInterface::encode File core/lib/Drupal/Core/Config/CachedStorage.php, line 166 Class CachedStorage Defines the cached storage. Namespace Drupal\Co

DateFormatFormBase::__construct

public DateFormatFormBase::__construct(DateFormatterInterface $date_formatter, ConfigEntityStorageInterface $date_format_storage) Constructs a new date format form. Parameters \Drupal\Core\Datetime\DateFormatterInterface $date_formatter: The date service. \Drupal\Core\Config\Entity\ConfigEntityStorageInterface $date_format_storage: The date format storage. File core/modules/system/src/Form/DateFormatFormBase.php, line 40 Class DateFormatFormBase Provides a base form for date formats. Na

FormRouteEnhancer::enhance

public FormRouteEnhancer::enhance(array $defaults, Request $request) Update the defaults based on its own data and the request. Parameters array $defaults the getRouteDefaults array.: Request $request the Request instance.: Return value array the modified defaults. Each enhancer MUST return the $defaults but may add or remove values. Overrides RouteEnhancerInterface::enhance File core/lib/Drupal/Core/Routing/Enhancer/FormRouteEnhancer.php, line 23 Class FormRouteEnhancer Enhancer to add

CategoryAutocompleteController::$blockManager

The block manager. Type: \Drupal\Core\Block\BlockManagerInterface File core/modules/block/src/Controller/CategoryAutocompleteController.php, line 22 Class CategoryAutocompleteController Returns autocomplete responses for block categories. Namespace Drupal\block\Controller Code protected $blockManager;

ConfigTranslationEntityListBuilder::sortRows

public ConfigTranslationEntityListBuilder::sortRows($a, $b) Sorts an array by value. Parameters array $a: First item for comparison. array $b: Second item for comparison. Return value int The comparison result for uasort(). Overrides ConfigTranslationEntityListBuilderInterface::sortRows File core/modules/config_translation/src/Controller/ConfigTranslationEntityListBuilder.php, line 97 Class ConfigTranslationEntityListBuilder Defines the configuration translation list builder for entities

EditorInterface::getSettings

public EditorInterface::getSettings() Returns the text editor plugin-specific settings. Return value array A structured array containing all text editor settings. File core/modules/editor/src/EditorInterface.php, line 55 Class EditorInterface Provides an interface defining a text editor entity. Namespace Drupal\editor Code public function getSettings();