ConfigSubscriber

Config subscriber. Hierarchy class \Drupal\Core\Config\ConfigImportValidateEventSubscriberBase implements EventSubscriberInterface uses StringTranslationTraitclass \Drupal\config\ConfigSubscriber File core/modules/config/src/ConfigSubscriber.php, line 13 Namespace Drupal\config Members Name Modifiers Type Description ConfigSubscriber::getSubscribedEvents static function Returns an array of event names this subscriber wants to listen to. Overrides ConfigImportValidateEve

StorageException

An exception thrown in case of storage operation errors. Hierarchy class \Drupal\Core\Config\ConfigException extends \RuntimeExceptionclass \Drupal\Core\Config\StorageException File core/lib/Drupal/Core/Config/StorageException.php, line 8 Namespace Drupal\Core\Config Members

LoggerChannel::MAX_CALL_DEPTH

Maximum call depth to self::log() for a single log message. It's very easy for logging channel code to call out to other library code that will create log messages. In that case, we will recurse back in to LoggerChannel::log() multiple times while processing a single originating message. To prevent infinite recursion, we track the call depth and bail out at LoggerChannel::MAX_CALL_DEPTH iterations. File core/lib/Drupal/Core/Logger/LoggerChannel.php, line 28 Class LoggerChannel Defines a lo

BlockContentTypeListBuilder::buildRow

public BlockContentTypeListBuilder::buildRow(EntityInterface $entity) Builds a row for an entity in the entity listing. Parameters \Drupal\Core\Entity\EntityInterface $entity: The entity for this row of the list. Return value array A render array structure of fields for this entity. Overrides EntityListBuilder::buildRow See also \Drupal\Core\Entity\EntityListBuilder::render() File core/modules/block_content/src/BlockContentTypeListBuilder.php, line 40 Class BlockContentTypeListBuilder D

user_cookie_delete

user_cookie_delete($cookie_name) Delete a visitor information cookie. Parameters string $cookie_name: A cookie name such as 'homepage'. File core/modules/user/user.module, line 1300 Enables the user registration and login system. Code function user_cookie_delete($cookie_name) { setrawcookie('Drupal.visitor.' . $cookie_name, '', REQUEST_TIME - 3600, '/'); }

EntityInterface

Defines a common interface for all entity objects. Hierarchy interface \Drupal\Core\Access\AccessibleInterface; interface \Drupal\Core\Cache\CacheableDependencyInterface; interface \Drupal\Core\Cache\RefinableCacheableDependencyInterfaceinterface \Drupal\Core\Entity\EntityInterface Related topics Entity API Describes how to define and manipulate content and configuration entities. File core/lib/Drupal/Core/Entity/EntityInterface.php, line 14 Namespace Drupal\Core\Entity Members Nam

schema.inc

Schema API handling functions. File core/includes/schema.inc Functions Name Description drupal_get_installed_schema_version Returns the currently installed schema version for a module. drupal_get_module_schema Returns a module's schema. drupal_get_schema_versions Returns an array of available schema versions for a module. drupal_install_schema Creates all tables defined in a module's hook_schema(). drupal_schema_get_field_value Typecasts values to proper datatypes. d

NodeTypeInterface::getHelp

public NodeTypeInterface::getHelp() Gets the help information. Return value string The help information of this node type. File core/modules/node/src/NodeTypeInterface.php, line 74 Class NodeTypeInterface Provides an interface defining a node type entity. Namespace Drupal\node Code public function getHelp();

LocalActionInterface::getWeight

public LocalActionInterface::getWeight() Returns the weight for the local action. Return value int File core/lib/Drupal/Core/Menu/LocalActionInterface.php, line 36 Class LocalActionInterface Defines an interface for menu local actions. Namespace Drupal\Core\Menu Code public function getWeight();

content_translation_entity_type_alter

content_translation_entity_type_alter(array &$entity_types) Implements hook_entity_type_alter(). The content translation UI relies on the entity info to provide its features. See the documentation of hook_entity_type_build() in the Entity API documentation for more details on all the entity info keys that may be defined. To make Content Translation automatically support an entity type some keys may need to be defined, but none of them is required unless the entity path is different from the