Node::getType

public Node::getType() Gets the node type. Return value string The node type. Overrides NodeInterface::getType File core/modules/node/src/Entity/Node.php, line 173 Class Node Defines the node entity class. Namespace Drupal\node\Entity Code public function getType() { return $this->bundle(); }

FieldableEntityStorageInterface::countFieldData

public FieldableEntityStorageInterface::countFieldData($storage_definition, $as_bool = FALSE) Determines the number of entities with values for a given field. Parameters \Drupal\Core\Field\FieldStorageDefinitionInterface $storage_definition: The field for which to count data records. bool $as_bool: (Optional) Optimises the query for checking whether there are any records or not. Defaults to FALSE. Return value bool|int The number of entities. If $as_bool parameter is TRUE then the value will

HttpExceptionSubscriberBase::getPriority

protected static HttpExceptionSubscriberBase::getPriority() Specifies the priority of all listeners in this class. The default priority is 1, which is very low. To have listeners that have a "first attempt" at handling exceptions return a higher priority. Return value int The event priority of this subscriber. File core/lib/Drupal/Core/EventSubscriber/HttpExceptionSubscriberBase.php, line 70 Class HttpExceptionSubscriberBase Utility base class for exception subscribers. Namespace Drupa

LinkManagerBase::$requestStack

The request stack. Type: \Symfony\Component\HttpFoundation\RequestStack File core/modules/rest/src/LinkManager/LinkManagerBase.php, line 29 Class LinkManagerBase Defines an abstract base-class for REST link manager objects. Namespace Drupal\rest\LinkManager Code protected $requestStack;

block_theme_initialize

block_theme_initialize($theme) Assigns an initial, default set of blocks for a theme. This function is called the first time a new theme is installed. The new theme gets a copy of the default theme's blocks, with the difference that if a particular region isn't available in the new theme, the block is assigned to the new theme's default region. Parameters $theme: The name of a theme. File core/modules/block/block.module, line 110 Controls the visual building blocks a page is constructed with.

EntityDisplayModeFormBase::save

public EntityDisplayModeFormBase::save(array $form, FormStateInterface $form_state) Form submission handler for the 'save' action. Normally this method should be overridden to provide specific messages to the user and redirect the form after the entity has been saved. Parameters array $form: An associative array containing the structure of the form. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Return value int Either SAVED_NEW or SAVED_UPDATED, depending on

RestResourceConfigInterface::getFormats

public RestResourceConfigInterface::getFormats($method) Retrieves a list of supported response formats. Parameters string $method: The request method e.g GET or POST. Return value string[] A list of supported format IDs. File core/modules/rest/src/RestResourceConfigInterface.php, line 59 Class RestResourceConfigInterface Defines a configuration entity to store enabled REST resources. Namespace Drupal\rest Code public function getFormats($method);

FieldStorageDefinitionListenerInterface

Defines an interface for reacting to field storage definition creation, deletion, and updates. Hierarchy interface \Drupal\Core\Field\FieldStorageDefinitionListenerInterface File core/lib/Drupal/Core/Field/FieldStorageDefinitionListenerInterface.php, line 8 Namespace Drupal\Core\Field Members Name Modifiers Type Description FieldStorageDefinitionListenerInterface::onFieldStorageDefinitionCreate public function Reacts to the creation of a field storage definition. Field

AjaxRenderer

Default main content renderer for Ajax requests. Hierarchy class \Drupal\Core\Render\MainContent\AjaxRenderer implements MainContentRendererInterface File core/lib/Drupal/Core/Render/MainContent/AjaxRenderer.php, line 16 Namespace Drupal\Core\Render\MainContent Members Name Modifiers Type Description AjaxRenderer::$controllerResolver protected property The controller resolver. AjaxRenderer::$elementInfoManager protected property The element info manager. AjaxRe

DynamicallyFieldableEntityStorageSchemaInterface::finalizePurge

public DynamicallyFieldableEntityStorageSchemaInterface::finalizePurge(FieldStorageDefinitionInterface $storage_definition) Performs final cleanup after all data of a field has been purged. Parameters \Drupal\Core\Field\FieldStorageDefinitionInterface $storage_definition: The field being purged. File core/lib/Drupal/Core/Entity/Schema/DynamicallyFieldableEntityStorageSchemaInterface.php, line 77 Class DynamicallyFieldableEntityStorageSchemaInterface A storage schema that supports entity t