EntityFieldManager::__construct

public EntityFieldManager::__construct(EntityTypeManagerInterface $entity_type_manager, EntityTypeBundleInfoInterface $entity_type_bundle_info, EntityDisplayRepositoryInterface $entity_display_repository, TypedDataManagerInterface $typed_data_manager, LanguageManagerInterface $language_manager, KeyValueFactoryInterface $key_value_factory, ModuleHandlerInterface $module_handler, CacheBackendInterface $cache_backend) Constructs a new EntityFieldManager. Parameters \Drupal\Core\Entity\EntityTypeM

EntityFieldManager::setFieldMap

public EntityFieldManager::setFieldMap(array $field_map) Sets a lightweight map of fields across bundles. Parameters array[] $field_map: See the return value of self::getFieldMap(). Return value $this Overrides EntityFieldManagerInterface::setFieldMap File core/lib/Drupal/Core/Entity/EntityFieldManager.php, line 417 Class EntityFieldManager Manages the discovery of entity fields. Namespace Drupal\Core\Entity Code public function setFieldMap(array $field_map) { $this->fieldMap =

node_comment_delete

node_comment_delete($comment) Implements hook_ENTITY_TYPE_delete() for comment entities. File core/modules/node/node.module, line 1357 The core module that allows content to be submitted to the site. Code function node_comment_delete($comment) { // Reindex the node when comments are deleted. if ($comment->getCommentedEntityTypeId() == 'node') { node_reindex_node_search($comment->getCommentedEntityId()); } }

ModuleHandler::getHookInfo

public ModuleHandler::getHookInfo() Retrieves a list of hooks that are declared through hook_hook_info(). Return value array An associative array whose keys are hook names and whose values are an associative array containing a group name. The structure of the array is the same as the return value of hook_hook_info(). Overrides ModuleHandlerInterface::getHookInfo See also hook_hook_info() File core/lib/Drupal/Core/Extension/ModuleHandler.php, line 289 Class ModuleHandler Class that manage

QueryConditionTrait::andConditionGroup

public QueryConditionTrait::andConditionGroup() Creates a new group of conditions ANDed together. Return value \Drupal\Core\Database\Query\ConditionInterface Overrides ConditionInterface::andConditionGroup File core/lib/Drupal/Core/Database/Query/QueryConditionTrait.php, line 109 Class QueryConditionTrait Provides an implementation of ConditionInterface. Namespace Drupal\Core\Database\Query Code public function andConditionGroup() { return $this->conditionGroupFactory('AND'); }

FormStateInterface::disableCache

public FormStateInterface::disableCache() Prevents the form from being cached. Return value $this File core/lib/Drupal/Core/Form/FormStateInterface.php, line 675 Class FormStateInterface Provides an interface for an object containing the current state of a form. Namespace Drupal\Core\Form Code public function disableCache();

ForumManager::$forumChildren

Array of forum children keyed by parent forum (term) id. Type: array File core/modules/forum/src/ForumManager.php, line 92 Class ForumManager Provides forum manager service. Namespace Drupal\forum Code protected $forumChildren = array();

ExtensionDiscovery::$fileCache

The file cache object. Type: \Drupal\Component\FileCache\FileCacheInterface File core/lib/Drupal/Core/Extension/ExtensionDiscovery.php, line 92 Class ExtensionDiscovery Discovers available extensions in the filesystem. Namespace Drupal\Core\Extension Code protected $fileCache;

FieldItemBase::generateSampleValue

public static FieldItemBase::generateSampleValue(FieldDefinitionInterface $field_definition) Generates placeholder field values. Useful when populating site with placeholder content during site building or profiling. Parameters \Drupal\Core\Field\FieldDefinitionInterface $field_definition: The field definition. Return value array An associative array of values. Overrides FieldItemInterface::generateSampleValue File core/lib/Drupal/Core/Field/FieldItemBase.php, line 209 Class FieldItemBase

FormStateDecoratorBase::setResponse

public FormStateDecoratorBase::setResponse(Response $response) Sets a response for this form. If a response is set, it will be used during processing and returned directly. The form will not be rebuilt or redirected. Parameters \Symfony\Component\HttpFoundation\Response $response: The response to return. Return value $this Overrides FormStateInterface::setResponse File core/lib/Drupal/Core/Form/FormStateDecoratorBase.php, line 576 Class FormStateDecoratorBase Decorates another form state