ConfigManagerInterface::getEntityManager

public ConfigManagerInterface::getEntityManager() Gets the entity manager. Return value \Drupal\Core\Entity\EntityManagerInterface The entity manager. File core/lib/Drupal/Core/Config/ConfigManagerInterface.php, line 38 Class ConfigManagerInterface Provides an interface for configuration manager. Namespace Drupal\Core\Config Code public function getEntityManager();

PoMemoryWriter::writeItem

public PoMemoryWriter::writeItem(PoItem $item) Writes the given item. Parameters PoItem $item: One specific item to write. Overrides PoWriterInterface::writeItem File core/lib/Drupal/Component/Gettext/PoMemoryWriter.php, line 27 Class PoMemoryWriter Defines a Gettext PO memory writer, to be used by the installer. Namespace Drupal\Component\Gettext Code public function writeItem(PoItem $item) { if (is_array($item->getSource())) { $item->setSource(implode(LOCALE_PLURAL_DELIM

ConfigEntityInterface::isSyncing

public ConfigEntityInterface::isSyncing() Returns whether this entity is being changed as part of an import process. If you are writing code that responds to a change in this entity (insert, update, delete, presave, etc.), and your code would result in a configuration change (whether related to this configuration entity, another configuration entity, or non-entity configuration) or your code would result in a change to this entity itself, you need to check and see if this entity change is part

ShortcutInterface::setTitle

public ShortcutInterface::setTitle($title) Sets the title of this shortcut. Parameters string $title: The title of this shortcut. Return value \Drupal\shortcut\ShortcutInterface The called shortcut entity. File core/modules/shortcut/src/ShortcutInterface.php, line 29 Class ShortcutInterface Provides an interface defining a shortcut entity. Namespace Drupal\shortcut Code public function setTitle($title);

Tel::preRenderTel

public static Tel::preRenderTel($element) Prepares a #type 'tel' render element for input.html.twig. Parameters array $element: An associative array containing the properties of the element. Properties used: #title, #value, #description, #size, #maxlength, #placeholder, #required, #attributes. Return value array The $element with prepared variables ready for input.html.twig. File core/lib/Drupal/Core/Render/Element/Tel.php, line 61 Class Tel Provides a form element for entering a telepho

TrustedRedirectResponse::__construct

public TrustedRedirectResponse::__construct($url, $status = 302, $headers = array()) Creates a redirect response so that it conforms to the rules defined for a redirect status code. Parameters string $url The URL to redirect to. The URL should be a full URL, with schema etc.,: but practically every browser redirects on paths only as well int $status The status code (302 by default): array $headers The headers (Location is always set to the given URL): Throws \InvalidArgumentException Override

MemoryStorage::deleteAll

public MemoryStorage::deleteAll() Deletes all items from the key/value store. Overrides KeyValueStoreInterface::deleteAll File core/lib/Drupal/Core/KeyValueStore/MemoryStorage.php, line 97 Class MemoryStorage Defines a default key/value store implementation. Namespace Drupal\Core\KeyValueStore Code public function deleteAll() { $this->data = array(); }

MaintenanceMode::$state

The state. Type: \Drupal\Core\State\StateInterface File core/lib/Drupal/Core/Site/MaintenanceMode.php, line 19 Class MaintenanceMode Provides the default implementation of the maintenance mode service. Namespace Drupal\Core\Site Code protected $state;

ConfigEntityStorage::loadRevision

public ConfigEntityStorage::loadRevision($revision_id) Load a specific entity revision. Parameters int|string $revision_id: The revision id. Return value \Drupal\Core\Entity\EntityInterface|null The specified entity revision or NULL if not found. Overrides EntityStorageInterface::loadRevision File core/lib/Drupal/Core/Config/Entity/ConfigEntityStorage.php, line 131 Class ConfigEntityStorage Defines the storage class for configuration entities. Namespace Drupal\Core\Config\Entity Code

StringLoader::getSource

public StringLoader::getSource($name) Gets the source code of a template, given its name. Parameters string $name The name of the template to load: Return value string The template source code Throws Twig_Error_Loader When $name is not found Overrides Twig_LoaderInterface::getSource File core/lib/Drupal/Core/Template/Loader/StringLoader.php, line 40 Class StringLoader Loads string templates, also known as inline templates. Namespace Drupal\Core\Template\Loader Code public function g