FormAjaxSubscriber::getSubscribedEvents

public static FormAjaxSubscriber::getSubscribedEvents() Returns an array of event names this subscriber wants to listen to. The array keys are event names and the value can be: The method name to call (priority defaults to 0) An array composed of the method name to call and the priority An array of arrays composed of the method names to call and respective priorities, or 0 if unset For instance: array('eventName' => 'methodName') array('eventName' => array('methodName', $priority)) a

DraggableListBuilder::render

public DraggableListBuilder::render() Builds the entity listing as renderable array for table.html.twig. @todo Add a link to add a new item to the #empty text. Overrides EntityListBuilder::render File core/lib/Drupal/Core/Config/Entity/DraggableListBuilder.php, line 91 Class DraggableListBuilder Defines a class to build a draggable listing of configuration entities. Namespace Drupal\Core\Config\Entity Code public function render() { if (!empty($this->weightKey)) { return $thi

MenuLinkBase::getCacheMaxAge

public MenuLinkBase::getCacheMaxAge() The maximum age for which this object may be cached. Return value int The maximum time in seconds that this object may be cached. Overrides CacheableDependencyInterface::getCacheMaxAge File core/lib/Drupal/Core/Menu/MenuLinkBase.php, line 173 Class MenuLinkBase Defines a base menu link class. Namespace Drupal\Core\Menu Code public function getCacheMaxAge() { return Cache::PERMANENT; }

EntityViewBuilder::$entityManager

The entity manager service. Type: \Drupal\Core\Entity\EntityManagerInterface File core/lib/Drupal/Core/Entity/EntityViewBuilder.php, line 41 Class EntityViewBuilder Base class for entity view builders. Namespace Drupal\Core\Entity Code protected $entityManager;

TypedDataTrait::$typedDataManager

The typed data manager used for creating the data types. Type: \Drupal\Core\TypedData\TypedDataManagerInterface File core/lib/Drupal/Core/TypedData/TypedDataTrait.php, line 15 Class TypedDataTrait Wrapper methods for classes that needs typed data manager object. Namespace Drupal\Core\TypedData Code protected $typedDataManager;

image.module

Exposes global functionality for creating image styles. File core/modules/image/image.module Functions Name Description image_entity_presave Implements hook_entity_presave(). image_field_config_delete Implements hook_ENTITY_TYPE_delete() for 'field_config'. image_field_config_update Implements hook_ENTITY_TYPE_update() for 'field_config'. image_field_storage_config_delete Implements hook_ENTITY_TYPE_delete() for 'field_storage_config'. image_field_storage_config_update

MemoryBackend::setMultiple

public MemoryBackend::setMultiple(array $items = array()) Store multiple items in the persistent cache. Parameters array $items: An array of cache items, keyed by cid. In the form: $items = array( $cid => array( // Required, will be automatically serialized if not a string. 'data' => $data, // Optional, defaults to CacheBackendInterface::CACHE_PERMANENT. 'expire' => CacheBackendInterface::CACHE_PERMANENT, // (optional) The cache tags for this item,

FileReadOnlyStorage::exists

public FileReadOnlyStorage::exists($name) Checks whether the PHP code exists in storage. Parameters string $name: The virtual file name. Can be a relative path. Return value bool TRUE if the virtual file exists, FALSE otherwise. Overrides PhpStorageInterface::exists File core/lib/Drupal/Component/PhpStorage/FileReadOnlyStorage.php, line 34 Class FileReadOnlyStorage Reads code as regular PHP files, but won't write them. Namespace Drupal\Component\PhpStorage Code public function exists

image.html.twig

Default theme implementation of an image. Available variables: attributes: HTML attributes for the img tag. style_name: (optional) The name of the image style applied. See also template_preprocess_image() File core/modules/system/templates/image.html.twig Related topics Theme system overview Functions and templates for the user interface that themes can override.

DeleteForm::submitForm

public DeleteForm::submitForm(array &$form, FormStateInterface $form_state) Form submission handler. Parameters array $form: An associative array containing the structure of the form. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Overrides FormInterface::submitForm File core/modules/path/src/Form/DeleteForm.php, line 84 Class DeleteForm Builds the form to delete a path alias. Namespace Drupal\path\Form Code public function submitForm(array &$