StringInterface::delete

public StringInterface::delete() Deletes string object from storage. Return value $this Throws \Drupal\locale\StringStorageException In case of failures, an exception is thrown. File core/modules/locale/src/StringInterface.php, line 214 Class StringInterface Defines the locale string interface. Namespace Drupal\locale Code public function delete();

LocaleEvents

Defines events for locale translation. Hierarchy class \Drupal\locale\LocaleEvents See also \Drupal\Core\Config\ConfigCrudEvent File core/modules/locale/src/LocaleEvents.php, line 10 Namespace Drupal\locale Members Name Modifiers Type Description LocaleEvents::SAVE_TRANSLATION constant The name of the event fired when saving a translated string.

EntityRevisionRouteEnhancer

Adds _entity_revision to the request attributes, if possible. Hierarchy class \Drupal\Core\Routing\Enhancer\EntityRevisionRouteEnhancer implements RouteEnhancerInterface File core/lib/Drupal/Core/Routing/Enhancer/EntityRevisionRouteEnhancer.php, line 12 Namespace Drupal\Core\Routing\Enhancer Members Name Modifiers Type Description EntityRevisionRouteEnhancer::applies public function Declares if the route enhancer applies to the given route. Overrides RouteEnhancerInterfa

ShortcutSet::postSave

public ShortcutSet::postSave(EntityStorageInterface $storage, $update = TRUE) Acts on a saved entity before the insert or update hook is invoked. Used after the entity is saved, but before invoking the insert or update hook. Note that in case of translatable content entities this callback is only fired on their current translation. It is up to the developer to iterate over all translations if needed. Parameters \Drupal\Core\Entity\EntityStorageInterface $storage: The entity storage object. boo

Xss::needsRemoval

protected static Xss::needsRemoval($html_tags, $elem) Whether this element needs to be removed altogether. Parameters $html_tags: The list of HTML tags. $elem: The name of the HTML element. Return value bool TRUE if this element needs to be removed. File core/lib/Drupal/Component/Utility/Xss.php, line 325 Class Xss Provides helper to filter for cross-site scripting. Namespace Drupal\Component\Utility Code protected static function needsRemoval($html_tags, $elem) { return !isset($ht

VariantInterface::getWeight

public VariantInterface::getWeight() Returns the weight of the display variant. Return value int The display variant weight. File core/lib/Drupal/Core/Display/VariantInterface.php, line 53 Class VariantInterface Provides an interface for DisplayVariant plugins. Namespace Drupal\Core\Display Code public function getWeight();

StringTranslationTrait::getNumberOfPlurals

protected StringTranslationTrait::getNumberOfPlurals($langcode = NULL) Returns the number of plurals supported by a given language. See also \Drupal\locale\PluralFormulaInterface::getNumberOfPlurals() File core/lib/Drupal/Core/StringTranslation/StringTranslationTrait.php, line 88 Class StringTranslationTrait Wrapper methods for \Drupal\Core\StringTranslation\TranslationInterface. Namespace Drupal\Core\StringTranslation Code protected function getNumberOfPlurals($langcode = NULL) { i

DatabaseQueue::ensureTableExists

protected DatabaseQueue::ensureTableExists() Check if the table exists and create it if not. File core/lib/Drupal/Core/Queue/DatabaseQueue.php, line 241 Class DatabaseQueue Default queue implementation. Namespace Drupal\Core\Queue Code protected function ensureTableExists() { try { $database_schema = $this->connection->schema(); if (!$database_schema->tableExists(static::TABLE_NAME)) { $schema_definition = $this->schemaDefinition(); $database_schema-&g

ConfigBase::$data

The data of the configuration object. Type: array File core/lib/Drupal/Core/Config/ConfigBase.php, line 43 Class ConfigBase Provides a base class for configuration objects with get/set support. Namespace Drupal\Core\Config Code protected $data = array();

ContentLanguageSettings::setDefaultLangcode

public ContentLanguageSettings::setDefaultLangcode($default_langcode) Sets the default language code. Parameters string $default_langcode: The default language code. Return value $this Overrides ContentLanguageSettingsInterface::setDefaultLangcode File core/modules/language/src/Entity/ContentLanguageSettings.php, line 121 Class ContentLanguageSettings Defines the ContentLanguageSettings entity. Namespace Drupal\language\Entity Code public function setDefaultLangcode($default_langcode