ThemeInitialization::getExtensions

protected ThemeInitialization::getExtensions() Gets all extensions. Return value array File core/lib/Drupal/Core/Theme/ThemeInitialization.php, line 263 Class ThemeInitialization Provides the theme initialization logic. Namespace Drupal\Core\Theme Code protected function getExtensions() { if (!isset($this->extensions)) { $this->extensions = array_merge($this->moduleHandler->getModuleList(), $this->themeHandler->listInfo()); } return $this->extensions; }

BlockForm::getUniqueMachineName

public BlockForm::getUniqueMachineName(BlockInterface $block) Generates a unique machine name for a block. Parameters \Drupal\block\BlockInterface $block: The block entity. Return value string Returns the unique name. File core/modules/block/src/BlockForm.php, line 408 Class BlockForm Provides form for block instance forms. Namespace Drupal\block Code public function getUniqueMachineName(BlockInterface $block) { $suggestion = $block->getPlugin()->getMachineNameSuggestion();

PhpBackend::__construct

public PhpBackend::__construct($bin, CacheTagsChecksumInterface $checksum_provider) Constructs a PhpBackend object. Parameters string $bin: The cache bin for which the object is created. \Drupal\Core\Cache\CacheTagsChecksumInterface $checksum_provider: The cache tags checksum provider. File core/lib/Drupal/Core/Cache/PhpBackend.php, line 48 Class PhpBackend Defines a PHP cache implementation. Namespace Drupal\Core\Cache Code public function __construct($bin, CacheTagsChecksumInterface

TextProcessed::$processed

Cached processed text. Type: string|null File core/modules/text/src/TextProcessed.php, line 22 Class TextProcessed A computed property for processing text with a format. Namespace Drupal\text Code protected $processed = NULL;

system_authorized_init

system_authorized_init($callback, $file, $arguments = array(), $page_title = NULL) Setup a given callback to run via authorize.php with elevated privileges. To use authorize.php, certain variables must be stashed into $_SESSION. This function sets up all the necessary $_SESSION variables. The calling function should then redirect to authorize.php, using the full path returned by system_authorized_get_url(). That initiates the workflow that will eventually lead to the callback being invoked. The

AuthenticationSubscriber::$accountProxy

Account proxy. Type: \Drupal\Core\Session\AccountProxyInterface File core/lib/Drupal/Core/EventSubscriber/AuthenticationSubscriber.php, line 49 Class AuthenticationSubscriber Authentication subscriber. Namespace Drupal\Core\EventSubscriber Code protected $accountProxy;

Editor::setSettings

public Editor::setSettings(array $settings) Sets the text editor plugin-specific settings. Parameters array $settings: The structured array containing all text editor settings. Return value $this Overrides EditorInterface::setSettings File core/modules/editor/src/Entity/Editor.php, line 166 Class Editor Defines the configured text editor entity. Namespace Drupal\editor\Entity Code public function setSettings(array $settings) { $this->settings = $settings; return $this; }

FormStateInterface::setCached

public FormStateInterface::setCached($cache = TRUE) Sets this form to be cached. Parameters bool $cache: TRUE if the form should be cached, FALSE otherwise. Return value $this Throws \LogicException If the current request is using an HTTP method that must not change state (e.g., GET). File core/lib/Drupal/Core/Form/FormStateInterface.php, line 660 Class FormStateInterface Provides an interface for an object containing the current state of a form. Namespace Drupal\Core\Form Code publ

ContentLanguageSettingsInterface::isLanguageAlterable

public ContentLanguageSettingsInterface::isLanguageAlterable() Checks if the language is alterable or not. Return value bool File core/modules/language/src/ContentLanguageSettingsInterface.php, line 68 Class ContentLanguageSettingsInterface Provides an interface defining language settings for content entities. Namespace Drupal\language Code public function isLanguageAlterable();

BlockDeleteForm::getCancelUrl

public BlockDeleteForm::getCancelUrl() Returns the route to go to if the user cancels the action. Return value \Drupal\Core\Url A URL object. Overrides EntityDeleteFormTrait::getCancelUrl File core/modules/block/src/Form/BlockDeleteForm.php, line 16 Class BlockDeleteForm Provides a deletion confirmation form for the block instance deletion form. Namespace Drupal\block\Form Code public function getCancelUrl() { return new Url('block.admin_display'); }