NestedArray::setValue

public static NestedArray::setValue(array &$array, array $parents, $value, $force = FALSE) Sets a value in a nested array with variable depth. This helper function should be used when the depth of the array element you are changing may vary (that is, the number of parent keys is variable). It is primarily used for form structures and renderable arrays. Example: // Assume you have a 'signature' element somewhere in a form. It might be: $form['signature_settings']['signature'] = array( '#ty

shortcut_default_set

shortcut_default_set($account = NULL) Returns the default shortcut set for a given user account. Parameters object $account: (optional) The user account whose default shortcut set will be returned. If not provided, the function will return the currently logged-in user's default shortcut set. Return value An object representing the default shortcut set. File core/modules/shortcut/shortcut.module, line 202 Allows users to manage customizable lists of shortcut links. Code function shortcut_def

DefaultExceptionSubscriber::$errorLevel

One of the error level constants defined in bootstrap.inc. Type: string File core/lib/Drupal/Core/EventSubscriber/DefaultExceptionSubscriber.php, line 31 Class DefaultExceptionSubscriber Last-chance handler for exceptions. Namespace Drupal\Core\EventSubscriber Code protected $errorLevel;

tablesort-indicator.html.twig

Default theme implementation for displaying a tablesort indicator. Available variables: style: Either 'asc' or 'desc', indicating the sorting direction. File core/modules/system/templates/tablesort-indicator.html.twig Related topics Theme system overview Functions and templates for the user interface that themes can override.

RoleListBuilder

Defines a class to build a listing of user role entities. Hierarchy class \Drupal\Core\Entity\EntityHandlerBase uses DependencySerializationTrait, StringTranslationTraitclass \Drupal\Core\Entity\EntityListBuilder implements EntityHandlerInterface, EntityListBuilderInterfaceclass \Drupal\Core\Config\Entity\ConfigEntityListBuilderclass \Drupal\Core\Config\Entity\DraggableListBuilder implements FormInterfaceclass \Drupal\user\RoleListBuilder See also \Drupal\user\Entity\Role File core/modu

VocabularyListBuilder

Defines a class to build a listing of taxonomy vocabulary entities. Hierarchy class \Drupal\Core\Entity\EntityHandlerBase uses DependencySerializationTrait, StringTranslationTraitclass \Drupal\Core\Entity\EntityListBuilder implements EntityHandlerInterface, EntityListBuilderInterfaceclass \Drupal\Core\Config\Entity\ConfigEntityListBuilderclass \Drupal\Core\Config\Entity\DraggableListBuilder implements FormInterfaceclass \Drupal\taxonomy\VocabularyListBuilder See also \Drupal\taxonomy\En

ModuleHandler::$implementations

List of hook implementations keyed by hook name. Type: array File core/lib/Drupal/Core/Extension/ModuleHandler.php, line 42 Class ModuleHandler Class that manages modules in a Drupal installation. Namespace Drupal\Core\Extension Code protected $implementations;

Vocabulary::$weight

The weight of this vocabulary in relation to other vocabularies. Type: int File core/modules/taxonomy/src/Entity/Vocabulary.php, line 89 Class Vocabulary Defines the taxonomy vocabulary entity. Namespace Drupal\taxonomy\Entity Code protected $weight = 0;

ConfigurableLanguageManager::getLanguages

public ConfigurableLanguageManager::getLanguages($flags = LanguageInterface::STATE_CONFIGURABLE) Returns a list of languages set up on the site. Parameters int $flags: (optional) Specifies the state of the languages that have to be returned. It can be: LanguageInterface::STATE_CONFIGURABLE, LanguageInterface::STATE_LOCKED, or LanguageInterface::STATE_ALL. Return value \Drupal\Core\Language\LanguageInterface[] An associative array of languages, keyed by the language code. Overrides LanguageMan

FieldStorageConfig

Defines the Field storage configuration entity. Plugin annotation @ConfigEntityType( id = "field_storage_config", label = @Translation("Field storage"), handlers = { "storage" = "Drupal\field\FieldStorageConfigStorage" }, config_prefix = "storage", entity_keys = { "id" = "id", "label" = "id" }, config_export = { "id", "field_name", "entity_type", "type", "settings", "module", "locked", "cardinality", "translatable", "indexes",