ManyToOneHelper::addFilter

public ManyToOneHelper::addFilter() File core/modules/views/src/ManyToOneHelper.php, line 255 Class ManyToOneHelper This many to one helper object is used on both arguments and filters. Namespace Drupal\views Code public function addFilter() { if (empty($this->handler->value)) { return; } $this->handler->ensureMyTable(); // Shorten some variables: $field = $this->getField(); $options = $this->handler->options; $operator = $this->handler->op

ConfigHandlerGroup::submitForm

public ConfigHandlerGroup::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 ViewsFormBase::submitForm File core/modules/views_ui/src/Form/Ajax/ConfigHandlerGroup.php, line 95 Class ConfigHandlerGroup Provides a form for configuring grouping information for a Views UI handler. Nam

BlockViewBuilder::lazyBuilder

public static BlockViewBuilder::lazyBuilder($entity_id, $view_mode) #lazy_builder callback; builds a #pre_render-able block. Parameters $entity_id: A block config entity ID. $view_mode: The view mode the block is being viewed in. Return value array A render array with a #pre_render callback to render the block. File core/modules/block/src/BlockViewBuilder.php, line 189 Class BlockViewBuilder Provides a Block view builder. Namespace Drupal\block Code public static function lazyBuilder

AdminRouteSubscriber

Adds the _admin_route option to each admin route. Hierarchy class \Drupal\Core\Routing\RouteSubscriberBase implements EventSubscriberInterfaceclass \Drupal\system\EventSubscriber\AdminRouteSubscriber File core/modules/system/src/EventSubscriber/AdminRouteSubscriber.php, line 12 Namespace Drupal\system\EventSubscriber Members Name Modifiers Type Description AdminRouteSubscriber::alterRoutes protected function Alters existing routes for a specific collection. Overrides Ro

Memory::deleteQueue

public Memory::deleteQueue() Deletes a queue and every item in the queue. Overrides QueueInterface::deleteQueue File core/lib/Drupal/Core/Queue/Memory.php, line 102 Class Memory Static queue implementation. Namespace Drupal\Core\Queue Code public function deleteQueue() { $this->queue = array(); $this->idSequence = 0; }

RouteBuilderInterface

Rebuilds the route information and dumps it. Rebuilding the route information is the process of gathering all routing data from .routing.yml files, creating a \Symfony\Component\Routing\RouteCollection object out of it, and dispatching that object as a \Drupal\Core\Routing\RouteBuildEvent to all registered listeners. After that, the \Symfony\Component\Routing\RouteCollection object is used to dump the data. Examples of a dump include filling up the routing table, auto-generating Apache mod_rewr

ShowButtonsCommand::__construct

public ShowButtonsCommand::__construct($changed) Constructs a \Drupal\views\Ajax\ShowButtonsCommand object. Parameters bool $changed: Whether the view has been changed. File core/modules/views/src/Ajax/ShowButtonsCommand.php, line 28 Class ShowButtonsCommand Provides an AJAX command for showing the save and cancel buttons. Namespace Drupal\views\Ajax Code public function __construct($changed) { $this->changed = $changed; }

EntityManager::createHandlerInstance

public EntityManager::createHandlerInstance($class, EntityTypeInterface $definition = NULL) Overrides EntityTypeManagerInterface::createHandlerInstance Deprecated in Drupal 8.0.0, will be removed before Drupal 9.0.0. File core/lib/Drupal/Core/Entity/EntityManager.php, line 126 Class EntityManager Provides a wrapper around many other services relating to entities. Namespace Drupal\Core\Entity Code public function createHandlerInstance($class, EntityTypeInterface $definition = NULL) {

FieldItemList::access

public FieldItemList::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. Returns

MissingThemeDependencyException::__construct

public MissingThemeDependencyException::__construct($message, $theme) Constructs the exception. Parameters string $message: The exception message. string $theme: The missing theme dependency. File core/lib/Drupal/Core/Theme/MissingThemeDependencyException.php, line 27 Class MissingThemeDependencyException Exception to be thrown when base theme for installed theme is not installed. Namespace Drupal\Core\Theme Code public function __construct($message, $theme) { parent::__construct($m