AdminController

Controller for admin section. Hierarchy class \Drupal\Core\Controller\ControllerBase implements ContainerInjectionInterface uses LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\system\Controller\AdminController File core/modules/system/src/Controller/AdminController.php, line 10 Namespace Drupal\system\Controller Members Name Modifiers Type Description AdminController::index public function Prints

AdminContext::$routeMatch

The route match. Type: \Drupal\Core\Routing\RouteMatchInterface File core/lib/Drupal/Core/Routing/AdminContext.php, line 17 Class AdminContext Provides a helper class to determine whether the route is an admin one. Namespace Drupal\Core\Routing Code protected $routeMatch;

AdminContext

Provides a helper class to determine whether the route is an admin one. Hierarchy class \Drupal\Core\Routing\AdminContext File core/lib/Drupal/Core/Routing/AdminContext.php, line 10 Namespace Drupal\Core\Routing Members Name Modifiers Type Description AdminContext::$routeMatch protected property The route match. AdminContext::isAdminRoute public function Determines whether the active route is an admin one. AdminContext::__construct public function Constru

AdminContext::__construct

public AdminContext::__construct(RouteMatchInterface $route_match) Construct a new admin context helper instance. Parameters \Drupal\Core\Routing\RouteMatchInterface $route_match: The route match. File core/lib/Drupal/Core/Routing/AdminContext.php, line 25 Class AdminContext Provides a helper class to determine whether the route is an admin one. Namespace Drupal\Core\Routing Code public function __construct(RouteMatchInterface $route_match) { $this->routeMatch = $route_match; }

AdminContext::isAdminRoute

public AdminContext::isAdminRoute(Route $route = NULL) Determines whether the active route is an admin one. Parameters \Symfony\Component\Routing\Route $route: (optional) The route to determine whether it is an admin one. Per default this falls back to the route object on the active request. Return value bool Returns TRUE if the route is an admin one, otherwise FALSE. File core/lib/Drupal/Core/Routing/AdminContext.php, line 39 Class AdminContext Provides a helper class to determine wheth

AddHandler::__construct

public AddHandler::__construct($type = NULL) Constructs a new AddHandler object. File core/modules/views_ui/src/Form/Ajax/AddHandler.php, line 18 Class AddHandler Provides a form for adding an item in the Views UI. Namespace Drupal\views_ui\Form\Ajax Code public function __construct($type = NULL) { $this->setType($type); }

admin-block-content.html.twig

Default theme implementation for the content of an administrative block. Available variables: content: A list containing information about the block. Each element of the array represents an administrative menu item, and must at least contain the keys 'title', 'link_path', and 'localized_options', which are passed to l(). A 'description' key may also be provided. attributes: HTML attributes to be added to the element. compact: Boolean indicating whether compact mode is turned on or not. See

admin.inc

Provides the Views' administrative interface. File core/modules/views_ui/admin.inc Functions Name Description views_ui_add_ajax_trigger Converts a form element in the add view wizard to be AJAX-enabled. views_ui_add_ajax_wrapper After-build function that adds a wrapper to a form region (for AJAX refreshes). views_ui_add_limited_validation Processes a non-JavaScript fallback submit button to limit its validation errors. views_ui_ajax_update_form Updates a part of the add vi

admin-page.html.twig

Default theme implementation for an administrative page. Available variables: system_compact_link: Themed link to toggle compact view. containers: An list of administrative blocks keyed by position: left or right. Contains: blocks: A list of blocks within a container. See also template_preprocess_admin_page() File core/modules/system/templates/admin-page.html.twig Related topics Theme system overview Functions and templates for the user interface that themes can override.

admin-block.html.twig

Default theme implementation for an administrative block. Available variables: block: An array of information about the block, including: show: A flag indicating if the block should be displayed. title: The block title. content: (optional) The content of the block. description: (optional) A description of the block. (Description should only be output if content is not available). File core/modules/system/templates/admin-block.html.twig Related topics Theme system overview Functions a