NodeStorageInterface::revisionIds

public NodeStorageInterface::revisionIds(NodeInterface $node) Gets a list of node revision IDs for a specific node. Parameters \Drupal\node\NodeInterface $node: The node entity. Return value int[] Node revision IDs (in ascending order). File core/modules/node/src/NodeStorageInterface.php, line 23 Class NodeStorageInterface Defines an interface for node entity storage classes. Namespace Drupal\node Code public function revisionIds(NodeInterface $node);

ConfigCrudEvent::__construct

public ConfigCrudEvent::__construct(Config $config) Constructs a configuration event object. Parameters \Drupal\Core\Config\Config $config: Configuration object. File core/lib/Drupal/Core/Config/ConfigCrudEvent.php, line 25 Class ConfigCrudEvent Wraps a configuration event for event listeners. Namespace Drupal\Core\Config Code public function __construct(Config $config) { $this->config = $config; }

container.html.twig

Default theme implementation of a container used to wrap child elements. Used for grouped form items. Can also be used as a theme wrapper for any renderable element, to surround it with a <div> and HTML attributes. See \Drupal\Core\Render\Element\RenderElement for more information on the #theme_wrappers render array property, and \Drupal\Core\Render\Element\container for usage of the container render element. Available variables: attributes: HTML attributes for the containing element. c

ExecutionContext::isGroupValidated

public ExecutionContext::isGroupValidated($cache_key, $group_hash) Returns whether an object was validated in a specific validation group. @internal Used by the validator engine. Should not be called by user code. Parameters string $cacheKey The hash of the object: string $groupHash The group's name or hash, if it is group: sequence Return value bool Whether the object was already validated for that group Overrides ExecutionContextInterface::isGroupValidated File core/lib/Drupal/Core/TypedDat

FilterDisableForm::submitForm

public FilterDisableForm::submitForm(array &$form, FormStateInterface $form_state) This is the default entity object builder function. It is called before any other submit handler to build the new entity object to be used by the following submit handlers. At this point of the form workflow the entity is validated and the form state can be updated, this way the subsequently invoked handlers can retrieve a regular entity object to act on. Generally this method should not be overridden unless

FormState::setRequestMethod

public FormState::setRequestMethod($method) Sets the HTTP method used by the request that is building the form. Parameters string $method: Can be any valid HTTP method, such as GET, POST, HEAD, etc. Return value $this Overrides FormStateInterface::setRequestMethod See also \Drupal\Core\Form\FormStateInterface::setMethod() File core/lib/Drupal/Core/Form/FormState.php, line 604 Class FormState Stores information about the state of a form. Namespace Drupal\Core\Form Code public functio

field_ui_theme

field_ui_theme() Implements hook_theme(). File core/modules/field_ui/field_ui.module, line 51 Allows administrators to attach custom fields to fieldable types. Code function field_ui_theme() { return array( 'field_ui_table' => array( 'variables' => array( 'header' => NULL, 'rows' => NULL, 'footer' => NULL, 'attributes' => array(), 'caption' => NULL, 'colgroups' => array(), 'sticky' => FALSE,

CommentFieldItemList::get

public CommentFieldItemList::get($index) Returns the item at the specified position in this list. Parameters int $index: Index of the item to return. Return value \Drupal\Core\TypedData\TypedDataInterface|null The item at the specified position in this list, or NULL if no item exists at that position. Throws \Drupal\Core\TypedData\Exception\MissingDataException If the complex data structure is unset and no item can be created. Overrides ItemList::get File core/modules/comment/src/CommentFiel

DatabaseLockBackend::releaseAll

public DatabaseLockBackend::releaseAll($lock_id = NULL) Releases all locks for the given lock token identifier. Parameters string $lockId: (optional) If none given, remove all locks from the current page. Defaults to NULL. Overrides LockBackendInterface::releaseAll File core/lib/Drupal/Core/Lock/DatabaseLockBackend.php, line 154 Class DatabaseLockBackend Defines the database lock backend. This is the default backend in Drupal. Namespace Drupal\Core\Lock Code public function releaseAll

CommentFieldItemList::access

public CommentFieldItemList::access($operation = 'view', AccountInterface $account = NULL, $return_as_object = FALSE) Checks data value access. Parameters string $operation: The operation to be performed. \Drupal\Core\Session\AccountInterface $account: (optional) The user for which to check access, or NULL to check access for the current user. Defaults to NULL. bool $return_as_object: (optional) Defaults to FALSE. Return value bool|\Drupal\Core\Access\AccessResultInterface The access result.