EntityDisplayBase::onDependencyRemoval

public EntityDisplayBase::onDependencyRemoval(array $dependencies) Informs the entity that entities it depends on will be deleted. This method allows configuration entities to remove dependencies instead of being deleted themselves. Configuration entities can use this method to avoid being unnecessarily deleted during an extension uninstallation. For example, entity displays remove references to widgets and formatters if the plugin that supplies them depends on a module that is being uninstalle

FieldConfigBase::setTranslatable

public FieldConfigBase::setTranslatable($translatable) Sets whether the field is translatable. Parameters bool $translatable: Whether the field is translatable. Return value $this Overrides FieldConfigInterface::setTranslatable File core/lib/Drupal/Core/Field/FieldConfigBase.php, line 327 Class FieldConfigBase Base class for configurable field definitions. Namespace Drupal\Core\Field Code public function setTranslatable($translatable) { $this->translatable = $translatable; ret

AttributeArray::offsetExists

public AttributeArray::offsetExists($offset) File core/lib/Drupal/Core/Template/AttributeArray.php, line 64 Class AttributeArray A class that defines a type of Attribute that can be added to as an array. Namespace Drupal\Core\Template Code public function offsetExists($offset) { return isset($this->value[$offset]); }

FieldConfigBase::$fieldStorage

The field storage object. Type: \Drupal\Core\Field\FieldStorageDefinitionInterface File core/lib/Drupal/Core/Field/FieldConfigBase.php, line 167 Class FieldConfigBase Base class for configurable field definitions. Namespace Drupal\Core\Field Code protected $fieldStorage;

config_translation_themes_uninstalled

config_translation_themes_uninstalled() Implements hook_themes_uninstalled(). File core/modules/config_translation/config_translation.module, line 64 Configuration Translation module. Code function config_translation_themes_uninstalled() { // Themes can provide *.config_translation.yml declarations. // @todo Make ThemeHandler trigger an event instead and make // ConfigMapperManager plugin manager subscribe to it. // @see https://www.drupal.org/node/2206347 \Drupal::service('plugin

CommandWithAttachedAssetsInterface::getAttachedAssets

public CommandWithAttachedAssetsInterface::getAttachedAssets() Gets the attached assets. Return value \Drupal\Core\Asset\AttachedAssets|null The attached assets for this command. File core/lib/Drupal/Core/Ajax/CommandWithAttachedAssetsInterface.php, line 21 Class CommandWithAttachedAssetsInterface Interface for Ajax commands that render content and attach assets. Namespace Drupal\Core\Ajax Code public function getAttachedAssets();

LanguagesCacheContext::getContext

public LanguagesCacheContext::getContext($type = NULL) $type can be NULL, or one of the language types supported by the language manager, typically: LanguageInterface::TYPE_INTERFACE LanguageInterface::TYPE_CONTENT LanguageInterface::TYPE_URL Throws \RuntimeException In case an invalid language type is specified. Overrides CalculatedCacheContextInterface::getContext See also \Drupal\Core\Language\LanguageManagerInterface::getLanguageTypes() File core/lib/Drupal/Core/Cache/Context/Languages

LanguagesCacheContext::getLabel

public static LanguagesCacheContext::getLabel() Returns the label of the cache context. Return value string The label of the cache context. Overrides CalculatedCacheContextInterface::getLabel See also Cache File core/lib/Drupal/Core/Cache/Context/LanguagesCacheContext.php, line 33 Class LanguagesCacheContext Defines the LanguagesCacheContext service, for "per language" caching. Namespace Drupal\Core\Cache\Context Code public static function getLabel() { return t('Language'); }

PoDatabaseReader::getLangcode

public PoDatabaseReader::getLangcode() Get language code. Return value string Language code string. Overrides PoMetadataInterface::getLangcode File core/modules/locale/src/PoDatabaseReader.php, line 54 Class PoDatabaseReader Gettext PO reader working with the locale module database. Namespace Drupal\locale Code public function getLangcode() { return $this->langcode; }

ShortcutSetStorage::deleteAssignedShortcutSets

public ShortcutSetStorage::deleteAssignedShortcutSets(ShortcutSetInterface $entity) Delete shortcut sets assigned to users. Parameters \Drupal\shortcut\ShortcutSetInterface $entity: Delete the user assigned sets belonging to this shortcut. Overrides ShortcutSetStorageInterface::deleteAssignedShortcutSets File core/modules/shortcut/src/ShortcutSetStorage.php, line 62 Class ShortcutSetStorage Defines a storage for shortcut_set entities. Namespace Drupal\shortcut Code public function del