ConfigEntityStorage::$configFactory

The config factory service. Type: \Drupal\Core\Config\ConfigFactoryInterface File core/lib/Drupal/Core/Config/Entity/ConfigEntityStorage.php, line 62 Class ConfigEntityStorage Defines the storage class for configuration entities. Namespace Drupal\Core\Config\Entity Code protected $configFactory;

OffCanvasRender::__construct

public OffCanvasRender::__construct(TitleResolverInterface $title_resolver, RendererInterface $renderer) Constructs a new OffCanvasRender. Parameters \Drupal\Core\Controller\TitleResolverInterface $title_resolver: The title resolver. \Drupal\Core\Render\RendererInterface $renderer: The renderer. Overrides DialogRenderer::__construct File core/modules/outside_in/src/Render/MainContent/OffCanvasRender.php, line 33 Class OffCanvasRender Default main content renderer for offcanvas dialog requ

ConfigEntityBase::$langcode

The language code of the entity's default language. Assumed to be English by default. ConfigEntityStorage will set an appropriate language when creating new entities. This default applies to imported default configuration where the language code is missing. Those should be assumed to be English. All configuration entities support third party settings, so even configuration entities that do not directly store settings involving text in a human language may have such third party settings attached

user_pass_rehash

user_pass_rehash(UserInterface $account, $timestamp) Creates a unique hash value for use in time-dependent per-user URLs. This hash is normally used to build a unique and secure URL that is sent to the user by email for purposes such as resetting the user's password. In order to validate the URL, the same hash can be generated again, from the same information, and compared to the hash value from the URL. The hash contains the time stamp, the user's last login time, the numeric user ID, and the

ContextCacheKeys::getKeys

public ContextCacheKeys::getKeys() Gets the generated cache keys. Return value string[] The cache keys. File core/lib/Drupal/Core/Cache/Context/ContextCacheKeys.php, line 35 Class ContextCacheKeys A value object to store generated cache keys with its cacheability metadata. Namespace Drupal\Core\Cache\Context Code public function getKeys() { return $this->keys; }

AlreadyInstalledException::__construct

public AlreadyInstalledException::__construct(TranslationInterface $string_translation) Constructs a new "already installed" exception. Parameters \Drupal\Core\StringTranslation\TranslationInterface $string_translation: The string translation manager. Overrides InstallerException::__construct File core/lib/Drupal/Core/Installer/Exception/AlreadyInstalledException.php, line 18 Class AlreadyInstalledException Exception thrown if Drupal is installed already. Namespace Drupal\Core\Installe

Yaml::getSerializer

protected static Yaml::getSerializer() Determines which implementation to use for parsing YAML. Overrides Yaml::getSerializer File core/lib/Drupal/Core/Serialization/Yaml.php, line 18 Class Yaml Provides a YAML serialization implementation. Namespace Drupal\Core\Serialization Code protected static function getSerializer() { // Allow settings.php to override the YAML serializer. if (!isset(static::$serializer) && $class = Settings::get('yaml_parser_class')) { stati

user_picture_enabled

user_picture_enabled() Returns whether this site supports the default user picture feature. This approach preserves compatibility with node/comment templates. Alternate user picture implementations (e.g., Gravatar) should provide their own add/edit/delete forms and populate the 'picture' variable during the preprocess stage. File core/modules/user/user.module, line 130 Enables the user registration and login system. Code function user_picture_enabled() { $field_definitions = \Drupal::entity

NoProfilesException

Exception thrown if no installation profiles are available. Hierarchy class \Drupal\Core\Installer\Exception\InstallerException extends \RuntimeException uses StringTranslationTraitclass \Drupal\Core\Installer\Exception\NoProfilesException File core/lib/Drupal/Core/Installer/Exception/NoProfilesException.php, line 10 Namespace Drupal\Core\Installer\Exception Members Name Modifiers Type Description InstallerException::$title protected property The page title to output.

RouteBuilder::$lock

The used lock backend instance. Type: \Drupal\Core\Lock\LockBackendInterface $lock File core/lib/Drupal/Core/Routing/RouteBuilder.php, line 33 Class RouteBuilder Managing class for rebuilding the router table. Namespace Drupal\Core\Routing Code protected $lock;