ActionAddForm::create

public static ActionAddForm::create(ContainerInterface $container) Instantiates a new instance of this class. This is a factory method that returns a new instance of this class. The factory should pass any needed dependencies into the constructor of this class, but not the container itself. Every call to this method must return a new instance of this class; that is, it may not implement a singleton. Parameters \Symfony\Component\DependencyInjection\ContainerInterface $container: The service co

ChainedFastBackend::reset

public ChainedFastBackend::reset() @todo Document in https://www.drupal.org/node/2311945. File core/lib/Drupal/Core/Cache/ChainedFastBackend.php, line 277 Class ChainedFastBackend Defines a backend with a fast and a consistent backend chain. Namespace Drupal\Core\Cache Code public function reset() { $this->lastWriteTimestamp = NULL; }

CommentBreadcrumbBuilder::applies

public CommentBreadcrumbBuilder::applies(RouteMatchInterface $route_match) Whether this breadcrumb builder should be used to build the breadcrumb. Parameters \Drupal\Core\Routing\RouteMatchInterface $route_match: The current route match. Return value bool TRUE if this builder should be used or FALSE to let other builders decide. Overrides BreadcrumbBuilderInterface::applies File core/modules/comment/src/CommentBreadcrumbBuilder.php, line 38 Class CommentBreadcrumbBuilder Class to define

EntityFieldManager

Manages the discovery of entity fields. This includes field definitions, base field definitions, and field storage definitions. Hierarchy class \Drupal\Core\Entity\EntityFieldManager implements EntityFieldManagerInterface uses UseCacheBackendTrait, StringTranslationTrait File core/lib/Drupal/Core/Entity/EntityFieldManager.php, line 21 Namespace Drupal\Core\Entity Members Name Modifiers Type Description EntityFieldManager::$baseFieldDefinitions protected property Static c

NODE_PROMOTED

Denotes that the node is promoted to the front page. File core/modules/node/node.module, line 50 The core module that allows content to be submitted to the site. Code const NODE_PROMOTED = 1;

form_select_options

form_select_options($element, $choices = NULL) Converts an options form element into a structured array for output. This function calls itself recursively to obtain the values for each optgroup within the list of options and when the function encounters an object with an 'options' property inside $element['#options']. Parameters array $element: An associative array containing the following key-value pairs: #multiple: Optional Boolean indicating if the user may select more than one item. #opt

CommentType::$label

The comment type label. Type: string File core/modules/comment/src/Entity/CommentType.php, line 58 Class CommentType Defines the comment type entity. Namespace Drupal\comment\Entity Code protected $label;

HistoryController

Returns responses for History module routes. Hierarchy class \Drupal\Core\Controller\ControllerBase implements ContainerInjectionInterface uses LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\history\Controller\HistoryController File core/modules/history/src/Controller/HistoryController.php, line 15 Namespace Drupal\history\Controller Members Name Modifiers Type Description ControllerBase::$configFactory

DiffEngine::_shift_boundaries

protected DiffEngine::_shift_boundaries($lines, &$changed, $other_changed) Adjust inserts/deletes of identical lines to join changes as much as possible. We do something when a run of changed lines include a line at one end and has an excluded, identical line at the other. We are free to choose which identical line is included. `compareseq' usually chooses the one at the beginning, but usually it is cleaner to consider the following identical line to be the "change". This is extracted verba

hook_ENTITY_TYPE_create

hook_ENTITY_TYPE_create(\Drupal\Core\Entity\EntityInterface $entity) Acts when creating a new entity of a specific type. This hook runs after a new entity object has just been instantiated. Parameters \Drupal\Core\Entity\EntityInterface $entity: The entity object. See also hook_entity_create() Related topics Entity CRUD, editing, and view hooks Hooks used in various entity operations. Hooks Define functions that alter the behavior of Drupal core. File core/lib/Drupal/Core/Entity/entity.api.