EntityDisplayModeDeleteForm

Provides the delete form for entity display modes. Hierarchy class \Drupal\Core\Form\FormBase implements ContainerInjectionInterface, FormInterface uses DependencySerializationTrait, LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\Core\Entity\EntityForm implements EntityFormInterfaceclass \Drupal\Core\Entity\EntityConfirmFormBase implements ConfirmFormInterfaceclass \Drupal\Core\Entity\EntityDeleteForm uses EntityDeleteFor

User::getAllowedConfigurableLanguageCodes

public static User::getAllowedConfigurableLanguageCodes() Defines allowed configurable language codes for AllowedValues constraints. Return value string[] The allowed values. File core/modules/user/src/Entity/User.php, line 566 Class User Defines the user entity class. Namespace Drupal\user\Entity Code public static function getAllowedConfigurableLanguageCodes() { return array_keys(\Drupal::languageManager()->getLanguages(LanguageInterface::STATE_CONFIGURABLE)); }

ActionConfigEntityInterface

Provides an interface defining a action entity. Hierarchy interface \Drupal\Core\Entity\EntityInterface; interface \Drupal\Core\Config\Entity\ThirdPartySettingsInterfaceinterface \Drupal\Core\Config\Entity\ConfigEntityInterfaceinterface \Drupal\system\ActionConfigEntityInterface File core/modules/system/src/ActionConfigEntityInterface.php, line 10 Namespace Drupal\system Members Name Modifiers Type Description AccessibleInterface::access public function Checks data val

LibraryDiscovery::getLibrariesByExtension

public LibraryDiscovery::getLibrariesByExtension($extension) Gets all libraries defined by an extension. Parameters string $extension: The name of the extension that registered a library. Return value array An associative array of libraries registered by $extension is returned (which may be empty). Overrides LibraryDiscoveryInterface::getLibrariesByExtension See also self::getLibraryByName() File core/lib/Drupal/Core/Asset/LibraryDiscovery.php, line 42 Class LibraryDiscovery Discovers a

LinkItemInterface::LINK_INTERNAL

Specifies whether the field supports only internal URLs. File core/modules/link/src/LinkItemInterface.php, line 15 Class LinkItemInterface Defines an interface for the link field item. Namespace Drupal\link Code const LINK_INTERNAL = 0x01;

BlockRepository::$themeManager

The theme manager. Type: \Drupal\Core\Theme\ThemeManagerInterface File core/modules/block/src/BlockRepository.php, line 27 Class BlockRepository Provides a repository for Block config entities. Namespace Drupal\block Code protected $themeManager;

StringStorageInterface::save

public StringStorageInterface::save($string) Save string object to storage. Parameters \Drupal\locale\StringInterface $string: The string object. Return value \Drupal\locale\StringStorageInterface The called object. Throws \Drupal\locale\StringStorageException In case of failures, an exception is thrown. File core/modules/locale/src/StringStorageInterface.php, line 110 Class StringStorageInterface Defines the locale string storage interface. Namespace Drupal\locale Code public funct

TransliterationInterface

Defines an interface for classes providing transliteration. Hierarchy interface \Drupal\Component\Transliteration\TransliterationInterface Related topics Transliteration Transliterate from Unicode to US-ASCII File core/lib/Drupal/Component/Transliteration/TransliterationInterface.php, line 10 Namespace Drupal\Component\Transliteration Members Name Modifiers Type Description TransliterationInterface::removeDiacritics public function Removes diacritics (accents) from cer

PrivateTempStore::set

public PrivateTempStore::set($key, $value) Stores a particular key/value pair in this PrivateTempStore. Parameters string $key: The key of the data to store. mixed $value: The data to store. File core/modules/user/src/PrivateTempStore.php, line 116 Class PrivateTempStore Stores and retrieves temporary data for a given owner. Namespace Drupal\user Code public function set($key, $value) { $key = $this->createkey($key); if (!$this->lockBackend->acquire($key)) { $this->

valid_email_address

valid_email_address($mail) Verifies the syntax of the given email address. Parameters string $mail: A string containing an email address. Return value bool TRUE if the address is in a valid format. Deprecated in Drupal 8.0.x-dev, will be removed before Drupal 9.0.0. Use \Drupal::service('email.validator')->isValid(). Related topics Input validation Functions to validate user input. File core/includes/common.inc, line 180 Common functions that many Drupal modules will need to reference