ViewsEntitySchemaSubscriber::dataTableRename

protected ViewsEntitySchemaSubscriber::dataTableRename($all_views, $entity_type_id, $old_data_table, $new_data_table) Updates views if a data table is renamed. Parameters \Drupal\views\Entity\View[] $all_views: All views. string $entity_type_id: The entity type ID. string $old_data_table: The old data table name. string $new_data_table: The new data table name. File core/modules/views/src/EventSubscriber/ViewsEntitySchemaSubscriber.php, line 283 Class ViewsEntitySchemaSubscriber Reacts to

ViewsEntitySchemaSubscriber::getSubscribedEvents

public static ViewsEntitySchemaSubscriber::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', $prio

MainContentViewSubscriber

View subscriber rendering main content render arrays into responses. Additional target rendering formats can be defined by adding another service that implements \Drupal\Core\Render\MainContent\MainContentRendererInterface and tagging it as a render.main_content_renderer , then \Drupal\Core\Render\MainContent\MainContentRenderersPass will detect it and use it when appropriate. Hierarchy class \Drupal\Core\EventSubscriber\MainContentViewSubscriber implements EventSubscriberInterface See als

CommentStorage::createInstance

public static CommentStorage::createInstance(ContainerInterface $container, EntityTypeInterface $entity_info) Instantiates a new instance of this entity handler. This is a factory method that returns a new instance of this object. The factory should pass any needed dependencies into the constructor of this object, but not the container itself. Every call to this method must return a new instance of this object; that is, it may not implement a singleton. Parameters \Symfony\Component\Dependency

MaintenanceModeSubscriber::$account

The current account. Type: \Drupal\Core\Session\AccountInterface File core/lib/Drupal/Core/EventSubscriber/MaintenanceModeSubscriber.php, line 38 Class MaintenanceModeSubscriber Maintenance mode subscriber for controller requests. Namespace Drupal\Core\EventSubscriber Code protected $account;

EntityType::setHandlerClass

public EntityType::setHandlerClass($handler_type, $value) Sets the handlers for a given type. Parameters string $handler_type: The type of handler to set. array|string $value: The value for a handler type. Return value $this Overrides EntityTypeInterface::setHandlerClass File core/lib/Drupal/Core/Entity/EntityType.php, line 452 Class EntityType Provides an implementation of an entity type and its metadata. Namespace Drupal\Core\Entity Code public function setHandlerClass($handler_typ

ExposedFormCache::$cache

Stores the exposed form data. Type: array File core/modules/views/src/ExposedFormCache.php, line 17 Class ExposedFormCache Caches exposed forms, as they are heavy to generate. Namespace Drupal\views Code protected $cache = array();

CommentTranslationHandler::entityFormTitle

protected CommentTranslationHandler::entityFormTitle(EntityInterface $entity) Returns the title to be used for the entity form page. Parameters \Drupal\Core\Entity\EntityInterface $entity: The entity whose form is being altered. Return value string|null The label of the entity, or NULL if there is no label defined. Overrides ContentTranslationHandler::entityFormTitle File core/modules/comment/src/CommentTranslationHandler.php, line 32 Class CommentTranslationHandler Defines the translati

AccessManager::performCheck

protected AccessManager::performCheck($service_id, ArgumentsResolverInterface $arguments_resolver) Performs the specified access check. Parameters string $service_id: The access check service ID to use. \Drupal\Component\Utility\ArgumentsResolverInterface $arguments_resolver: The parametrized arguments resolver instance. Return value \Drupal\Core\Access\AccessResultInterface The access result. Throws \Drupal\Core\Access\AccessException Thrown when the access check returns an invalid value. F

DraggableListBuilder::formBuilder

protected DraggableListBuilder::formBuilder() Returns the form builder. Return value \Drupal\Core\Form\FormBuilderInterface The form builder. File core/lib/Drupal/Core/Config/Entity/DraggableListBuilder.php, line 171 Class DraggableListBuilder Defines a class to build a draggable listing of configuration entities. Namespace Drupal\Core\Config\Entity Code protected function formBuilder() { if (!$this->formBuilder) { $this->formBuilder = \Drupal::formBuilder(); } return