FormState::setAlwaysProcess

public FormState::setAlwaysProcess($always_process = TRUE) Sets this form to always be processed. This should only be used on RESTful GET forms that do NOT write data, as this could lead to security issues. It is useful so that searches do not need to have a form_id in their query arguments to trigger the search. Parameters bool $always_process: TRUE if the form should always be processed, FALSE otherwise. Return value $this Overrides FormStateInterface::setAlwaysProcess File core/lib/Drupal/

HtmlRenderer::prepare

protected HtmlRenderer::prepare(array $main_content, Request $request, RouteMatchInterface $route_match) Prepares the HTML body: wraps the main content in #type 'page'. Parameters array $main_content: The render array representing the main content. \Symfony\Component\HttpFoundation\Request $request: The request object, for context. \Drupal\Core\Routing\RouteMatchInterface $route_match: The route match, for context. Return value array An array with two values: 0. A #type 'page' render array. 1

EntityManager::onFieldDefinitionDelete

public EntityManager::onFieldDefinitionDelete(FieldDefinitionInterface $field_definition) Overrides FieldDefinitionListenerInterface::onFieldDefinitionDelete Deprecated in Drupal 8.0.0, will be removed before Drupal 9.0.0. File core/lib/Drupal/Core/Entity/EntityManager.php, line 207 Class EntityManager Provides a wrapper around many other services relating to entities. Namespace Drupal\Core\Entity Code public function onFieldDefinitionDelete(FieldDefinitionInterface $field_definitio

ModulesUninstallForm::create

public static ModulesUninstallForm::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 ser

BlockListController

Defines a controller to list blocks. Hierarchy class \Drupal\Core\Controller\ControllerBase implements ContainerInjectionInterface uses LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\Core\Entity\Controller\EntityListControllerclass \Drupal\block\Controller\BlockListController File core/modules/block/src/Controller/BlockListController.php, line 14 Namespace Drupal\block\Controller Members Name Modifiers Typ

UpdateProcessor::$fetchTaskStore

Update Fetch Task Store Type: \Drupal\Core\KeyValueStore\KeyValueStoreInterface File core/modules/update/src/UpdateProcessor.php, line 50 Class UpdateProcessor Process project update information. Namespace Drupal\update Code protected $fetchTaskStore;

ContentEntityBase::bundleFieldDefinitions

public static ContentEntityBase::bundleFieldDefinitions(EntityTypeInterface $entity_type, $bundle, array $base_field_definitions) Provides field definitions for a specific bundle. This function can return definitions both for bundle fields (fields that are not defined in $base_field_definitions, and therefore might not exist on some bundles) as well as bundle-specific overrides of base fields (fields that are defined in $base_field_definitions, and therefore exist for all bundles). However, bun

TypedDataManager::createListDataDefinition

public TypedDataManager::createListDataDefinition($item_type) Creates a new list data definition for items of the given data type. Parameters string $item_type: The item type, for which a list data definition should be created. Return value \Drupal\Core\TypedData\ListDataDefinitionInterface A list definition for items of the given data type. Overrides TypedDataManagerInterface::createListDataDefinition See also \Drupal\Core\TypedData\TypedDataManager::createDataDefinition() File core/lib/Dru

UpdateProcessor::claimQueueItem

public UpdateProcessor::claimQueueItem() Claims an item in the update fetch queue for processing. Return value bool|\stdClass On success we return an item object. If the queue is unable to claim an item it returns false. Overrides UpdateProcessorInterface::claimQueueItem See also \Drupal\Core\Queue\QueueInterface::claimItem() File core/modules/update/src/UpdateProcessor.php, line 258 Class UpdateProcessor Process project update information. Namespace Drupal\update Code public functio

NodeInterface::setRevisionAuthorId

public NodeInterface::setRevisionAuthorId($uid) Sets the node revision author. Parameters int $uid: The user ID of the revision author. Return value \Drupal\node\NodeInterface The called node entity. Deprecated in Drupal 8.2.0, will be removed before Drupal 9.0.0. Use \Drupal\Core\Entity\RevisionLogInterface::setRevisionUserId() instead. File core/modules/node/src/NodeInterface.php, line 162 Class NodeInterface Provides an interface defining a node entity. Namespace Drupal\node Co