SqlContentEntityStorage::onFieldStorageDefinitionCreate

public SqlContentEntityStorage::onFieldStorageDefinitionCreate(FieldStorageDefinitionInterface $storage_definition) Reacts to the creation of a field storage definition. Parameters \Drupal\Core\Field\FieldStorageDefinitionInterface $storage_definition: The definition being created. Overrides ContentEntityStorageBase::onFieldStorageDefinitionCreate File core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php, line 1401 Class SqlContentEntityStorage A content entity database storage imp

ContextualLinkInterface::getTitle

public ContextualLinkInterface::getTitle() Returns the localized title to be shown for this contextual link. Subclasses may add optional arguments like NodeInterface $node = NULL that will be supplied by the ControllerResolver. Return value string The title to be shown for this action. See also \Drupal\Core\Menu\ContextualLinksManager::getTitle() File core/lib/Drupal/Core/Menu/ContextualLinkInterface.php, line 29 Class ContextualLinkInterface Defines a contextual link plugin. Namespace

BlockManager::getGroupedDefinitions

public BlockManager::getGroupedDefinitions(array $definitions = NULL) Gets sorted plugin definitions grouped by category. In addition to grouping, both categories and its entries are sorted, whereas plugin definitions are sorted by label. Parameters array[]|null $definitions: (optional) The plugin definitions to group. If omitted, all plugin definitions are used. Return value array[] Keys are category names, and values are arrays of which the keys are plugin IDs and the values are plugin defi

block_theme

block_theme() Implements hook_theme(). File core/modules/block/block.module, line 55 Controls the visual building blocks a page is constructed with. Code function block_theme() { return array( 'block' => array( 'render element' => 'elements', ), ); }

BlockBase::access

public BlockBase::access(AccountInterface $account, $return_as_object = FALSE) Indicates whether the block should be shown. This method allows base implementations to add general access restrictions that should apply to all extending block plugins. Parameters \Drupal\Core\Session\AccountInterface $account: The user session for which to check access. bool $return_as_object: (optional) Defaults to FALSE. Return value bool|\Drupal\Core\Access\AccessResultInterface The access result. Returns a bo

rest.install

Install, update and uninstall functions for the rest module. File core/modules/rest/rest.install Functions Name Description rest_requirements Implements hook_requirements(). rest_update_8201 Install the REST config entity type and fix old settings-based config. rest_update_8202 Re-save all views with a REST display to add new auth defaults. rest_update_8203 Enable BC for EntityResource: continue to use permissions.

ConfirmFormInterface::getCancelText

public ConfirmFormInterface::getCancelText() Returns a caption for the link which cancels the action. Return value string The form cancellation text. File core/lib/Drupal/Core/Form/ConfirmFormInterface.php, line 48 Class ConfirmFormInterface Defines the behavior a confirmation form. Namespace Drupal\Core\Form Code public function getCancelText();

BlockViewBuilder::view

public BlockViewBuilder::view(EntityInterface $entity, $view_mode = 'full', $langcode = NULL) Builds the render array for the provided entity. Parameters \Drupal\Core\Entity\EntityInterface $entity: The entity to render. string $view_mode: (optional) The view mode that should be used to render the entity. string $langcode: (optional) For which language the entity should be rendered, defaults to the current content language. Return value array A render array for the entity. Throws \InvalidArg

PluralTranslation::get

public PluralTranslation::get() Gets the value of an annotation. Overrides AnnotationInterface::get File core/lib/Drupal/Core/Annotation/PluralTranslation.php, line 97 Class PluralTranslation Defines an annotation object for strings that require plural forms. Namespace Drupal\Core\Annotation Code public function get() { return [ 'singular' => $this->singular, 'plural' => $this->plural, 'context' => $this->context, ]; }

block_content.pages.inc

Provides page callbacks for custom blocks. File core/modules/block_content/block_content.pages.inc Functions Name Description template_preprocess_block_content_add_list Prepares variables for a custom block type creation list templates.