_update_message_text

_update_message_text($msg_type, $msg_reason, $langcode = NULL) Returns the appropriate message text when site is out of date or not secure. These error messages are shared by both update_requirements() for the site-wide status report at admin/reports/status and in the body of the notification email messages generated by update_cron(). Parameters $msg_type: String to indicate what kind of message to generate. Can be either 'core' or 'contrib'. $msg_reason: Integer constant specifying why messag

FileStorage::getCollectionDirectory

protected FileStorage::getCollectionDirectory() Gets the directory for the collection. Return value string The directory for the collection. File core/lib/Drupal/Core/Config/FileStorage.php, line 351 Class FileStorage Defines the file storage. Namespace Drupal\Core\Config Code protected function getCollectionDirectory() { if ($this->collection == StorageInterface::DEFAULT_COLLECTION) { $dir = $this->directory; } else { $dir = $this->directory . '/' . str_replace

ThemeHandlerInterface::rebuildThemeData

public ThemeHandlerInterface::rebuildThemeData() Scans and collects theme extension data and their engines. Return value \Drupal\Core\Extension\Extension[] An associative array of theme extensions. File core/lib/Drupal/Core/Extension/ThemeHandlerInterface.php, line 123 Class ThemeHandlerInterface Manages the list of available themes. Namespace Drupal\Core\Extension Code public function rebuildThemeData();

KeyValueStoreInterface::get

public KeyValueStoreInterface::get($key, $default = NULL) Returns the stored value for a given key. Parameters string $key: The key of the data to retrieve. mixed $default: The default value to use if the key is not found. Return value mixed The stored value, or the default value if no value exists. File core/lib/Drupal/Core/KeyValueStore/KeyValueStoreInterface.php, line 40 Class KeyValueStoreInterface Defines the interface for key/value store implementations. Namespace Drupal\Core\Ke

Query::__toString

abstract public Query::__toString() Implements PHP magic __toString method to convert the query to a string. The toString operation is how we compile a query object to a prepared statement. Return value string A prepared statement query string for this object. File core/lib/Drupal/Core/Database/Query/Query.php, line 119 Class Query Base class for query builders. Namespace Drupal\Core\Database\Query Code abstract public function __toString();

ConfigEntityBase::getConfigManager

protected static ConfigEntityBase::getConfigManager() Gets the configuration manager. Return value \Drupal\Core\Config\ConfigManager The configuration manager. File core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php, line 607 Class ConfigEntityBase Defines a base configuration entity class. Namespace Drupal\Core\Config\Entity Code protected static function getConfigManager() { return \Drupal::service('config.manager'); }

filter-tips.html.twig

Default theme implementation for a set of filter tips. Available variables: tips: Descriptions and a CSS ID in the form of 'module-name/filter-id' (only used when 'long' is TRUE) for each filter in one or more text formats. long: A flag indicating whether the passed-in filter tips contain extended explanations, i.e. intended to be output on the path 'filter/tips' (TRUE), or are in a short format, i.e. suitable to be displayed below a form element. Defaults to FALSE. multiple: A flag indicati

Memory::__construct

public Memory::__construct($name) Constructs a Memory object. Parameters string $name: An arbitrary string. The name of the queue to work with. File core/lib/Drupal/Core/Queue/Memory.php, line 35 Class Memory Static queue implementation. Namespace Drupal\Core\Queue Code public function __construct($name) { $this->queue = array(); $this->idSequence = 0; }

EntityResolverManager::getControllerClass

protected EntityResolverManager::getControllerClass(array $defaults) Gets the controller class using route defaults. By design we cannot support all possible routes, but just the ones which use the defaults provided by core, which are _controller and _form. Rather than creating an instance of every controller determine the class and method that would be used. This is not possible for the service:method notation as the runtime container does not allow static introspection. Parameters array $def

AfterCommand

An AJAX command for calling the jQuery after() method. The 'insert/after' command instructs the client to use jQuery's after() method to insert the given HTML content after each element matched by the given selector. This command is implemented by Drupal.AjaxCommands.prototype.insert() defined in misc/ajax.js. Hierarchy class \Drupal\Core\Ajax\InsertCommand implements CommandInterface, CommandWithAttachedAssetsInterface uses CommandWithAttachedAssetsTraitclass \Drupal\Core\Ajax\AfterCommand