DRUPAL_USER_TIMEZONE_EMPTY

New users will get an empty time zone at registration. File core/modules/system/system.module, line 39 Configuration system that lets administrators modify the workings of the site. Code const DRUPAL_USER_TIMEZONE_EMPTY = 1;

Select::escapeField

public Select::escapeField($string) Escapes a field name string. Force all field names to be strictly alphanumeric-plus-underscore. For some database drivers, it may also wrap the field name in database-specific escape characters. Parameters string $string: An unsanitized field name. Return value The sanitized field name string. Overrides SelectInterface::escapeField File core/lib/Drupal/Core/Database/Query/Select.php, line 421 Class Select Query builder for SELECT statements. Namespac

EntityDisplayRepositoryInterface::clearDisplayModeInfo

public EntityDisplayRepositoryInterface::clearDisplayModeInfo() Clears the gathered display mode info. Return value $this File core/lib/Drupal/Core/Entity/EntityDisplayRepositoryInterface.php, line 101 Class EntityDisplayRepositoryInterface Provides an interface for an entity display repository. Namespace Drupal\Core\Entity Code public function clearDisplayModeInfo();

LanguageConfigFactoryOverrideInterface::getLanguage

public LanguageConfigFactoryOverrideInterface::getLanguage() Gets the language object used to override configuration data. Return value \Drupal\Core\Language\LanguageInterface The language object used to override configuration data. File core/modules/language/src/Config/LanguageConfigFactoryOverrideInterface.php, line 20 Class LanguageConfigFactoryOverrideInterface Defines the interface for a configuration factory language override object. Namespace Drupal\language\Config Code public

TwigExtension::setThemeManager

public TwigExtension::setThemeManager(ThemeManagerInterface $theme_manager) Sets the theme manager. Parameters \Drupal\Core\Theme\ThemeManagerInterface $theme_manager: The theme manager. Return value $this File core/lib/Drupal/Core/Template/TwigExtension.php, line 102 Class TwigExtension A class providing Drupal Twig extensions. Namespace Drupal\Core\Template Code public function setThemeManager(ThemeManagerInterface $theme_manager) { $this->themeManager = $theme_manager; retu

ViewUI::postDelete

public static ViewUI::postDelete(EntityStorageInterface $storage, array $entities) Acts on deleted entities before the delete hook is invoked. Used after the entities are deleted but before invoking the delete hook. Parameters \Drupal\Core\Entity\EntityStorageInterface $storage: The entity storage object. \Drupal\Core\Entity\EntityInterface[] $entities: An array of entities. Overrides EntityInterface::postDelete File core/modules/views_ui/src/ViewUI.php, line 1123 Class ViewUI Stores UI r

DatabaseCacheTagsChecksum::__construct

public DatabaseCacheTagsChecksum::__construct(Connection $connection) Constructs a DatabaseCacheTagsChecksum object. Parameters \Drupal\Core\Database\Connection $connection: The database connection. File core/lib/Drupal/Core/Cache/DatabaseCacheTagsChecksum.php, line 42 Class DatabaseCacheTagsChecksum Cache tags invalidations checksum implementation that uses the database. Namespace Drupal\Core\Cache Code public function __construct(Connection $connection) { $this->connection = $c

FieldConfigBase::setDescription

public FieldConfigBase::setDescription($description) Sets a human readable description. Descriptions are usually used on user interfaces where the data is edited or displayed. Parameters string $description: The description for this field. Return value $this Overrides FieldConfigInterface::setDescription File core/lib/Drupal/Core/Field/FieldConfigBase.php, line 311 Class FieldConfigBase Base class for configurable field definitions. Namespace Drupal\Core\Field Code public function se

LoggerChannelTrait::setLoggerFactory

public LoggerChannelTrait::setLoggerFactory(LoggerChannelFactoryInterface $logger_factory) Injects the logger channel factory. Parameters \Drupal\Core\Logger\LoggerChannelFactoryInterface $logger_factory: The logger channel factory service. Return value $this File core/lib/Drupal/Core/Logger/LoggerChannelTrait.php, line 52 Class LoggerChannelTrait Wrapper methods for the logger factory service. Namespace Drupal\Core\Logger Code public function setLoggerFactory(LoggerChannelFactoryInt

BookManagerInterface::saveBookLink

public BookManagerInterface::saveBookLink(array $link, $new) Saves a single book entry. Parameters array $link: The link data to save. bool $new: Is this a new book. Return value array The book data of that node. File core/modules/book/src/BookManagerInterface.php, line 197 Class BookManagerInterface Provides an interface defining a book manager. Namespace Drupal\book Code public function saveBookLink(array $link, $new);