ThemeManager::$themeInitialization

The theme initialization. Type: \Drupal\Core\Theme\ThemeInitializationInterface File core/lib/Drupal/Core/Theme/ThemeManager.php, line 43 Class ThemeManager Provides the default implementation of a theme manager. Namespace Drupal\Core\Theme Code protected $themeInitialization;

EntityTypeEvents::CREATE

The name of the event triggered when a new entity type is created. This event allows modules to react to a new entity type being created. The event listener method receives a \Drupal\Core\Entity\EntityTypeEvent instance. See also \Drupal\Core\Entity\EntityTypeEvent \Drupal\Core\Entity\EntityManager::onEntityTypeCreate() \Drupal\Core\Entity\EntityTypeEventSubscriberTrait \Drupal\views\EventSubscriber\ViewsEntitySchemaSubscriber::onEntityTypeCreate() Related topics Events Overview of event dispa

FormBase::logger

protected FormBase::logger($channel) Gets the logger for a specific channel. This method exists for backward-compatibility between FormBase and LoggerChannelTrait. Use LoggerChannelTrait::getLogger() instead. Parameters string $channel: The name of the channel. Can be any string, but the general practice is to use the name of the subsystem calling this. Return value \Psr\Log\LoggerInterface The logger for the given channel. File core/lib/Drupal/Core/Form/FormBase.php, line 223 Class FormB

UnroutedUrlAssembler::buildExternalUrl

protected UnroutedUrlAssembler::buildExternalUrl($uri, array $options = [], $collect_bubbleable_metadata = FALSE) File core/lib/Drupal/Core/Utility/UnroutedUrlAssembler.php, line 70 Class UnroutedUrlAssembler Provides a way to build external or non Drupal local domain URLs. Namespace Drupal\Core\Utility Code protected function buildExternalUrl($uri, array $options = [], $collect_bubbleable_metadata = FALSE) { $this->addOptionDefaults($options); // Split off the fragment. if (s

locale_form_language_admin_edit_form_alter_submit

locale_form_language_admin_edit_form_alter_submit($form, FormStateInterface $form_state) Form submission handler for language_admin_edit_form(). File core/modules/locale/locale.module, line 730 Enables the translation of the user interface to languages other than English. Code function locale_form_language_admin_edit_form_alter_submit($form, FormStateInterface $form_state) { \Drupal::configFactory()->getEditable('locale.settings')->set('translate_english', intval($form_state->getVa

FileStorage::createCollection

public FileStorage::createCollection($collection) Creates a collection on the storage. A configuration storage can contain multiple sets of configuration objects in partitioned collections. The collection name identifies the current collection used. Implementations of this method must provide a new instance to avoid side effects caused by the fact that Config objects have their storage injected. Parameters string $collection: The collection name. Valid collection names conform to the following

MTimeProtectedFastFileStorage::$secret

The secret used in the HMAC. Type: string File core/lib/Drupal/Component/PhpStorage/MTimeProtectedFastFileStorage.php, line 42 Class MTimeProtectedFastFileStorage Stores PHP code in files with securely hashed names. Namespace Drupal\Component\PhpStorage Code protected $secret;

ConfigMapperInterface::getAddRoute

public ConfigMapperInterface::getAddRoute() Returns the route object for a translation add form route. Return value \Symfony\Component\Routing\Route The route object for the translation page. File core/modules/config_translation/src/ConfigMapperInterface.php, line 113 Class ConfigMapperInterface Defines an interface for configuration mapper. Namespace Drupal\config_translation Code public function getAddRoute();

SiteSettingsForm::$sitePath

The site path. Type: string File core/lib/Drupal/Core/Installer/Form/SiteSettingsForm.php, line 22 Class SiteSettingsForm Provides a form to configure and rewrite settings.php. Namespace Drupal\Core\Installer\Form Code protected $sitePath;

PoDatabaseReader::$langcode

Language code of the language being read from the database. Type: string File core/modules/locale/src/PoDatabaseReader.php, line 35 Class PoDatabaseReader Gettext PO reader working with the locale module database. Namespace Drupal\locale Code private $langcode;