AdminHtmlRouteProvider

Provides HTML routes for entities with administrative add/edit/delete pages. Use this class if the add/edit/delete form routes should use the administrative theme. @internal Hierarchy class \Drupal\Core\Entity\Routing\DefaultHtmlRouteProvider implements EntityHandlerInterface, EntityRouteProviderInterfaceclass \Drupal\Core\Entity\Routing\AdminHtmlRouteProvider See also \Drupal\Core\Entity\Routing\DefaultHtmlRouteProvider. File core/lib/Drupal/Core/Entity/Routing/AdminHtmlRouteProvider.php,

AdminDemoNegotiator::determineActiveTheme

public AdminDemoNegotiator::determineActiveTheme(RouteMatchInterface $route_match) Determine the active theme for the request. Parameters \Drupal\Core\Routing\RouteMatchInterface $route_match: The current route match object. Return value string|null The name of the theme, or NULL if other negotiators, like the configured default one, should be used instead. Overrides ThemeNegotiatorInterface::determineActiveTheme File core/modules/block/src/Theme/AdminDemoNegotiator.php, line 23 Class Adm

AdminDemoNegotiator::applies

public AdminDemoNegotiator::applies(RouteMatchInterface $route_match) Whether this theme negotiator should be used to set the theme. Parameters \Drupal\Core\Routing\RouteMatchInterface $route_match: The current route match object. Return value bool TRUE if this negotiator should be used or FALSE to let other negotiators decide. Overrides ThemeNegotiatorInterface::applies File core/modules/block/src/Theme/AdminDemoNegotiator.php, line 16 Class AdminDemoNegotiator Negotiates the theme for

AdminDemoNegotiator

Negotiates the theme for the block admin demo page via the URL. Hierarchy class \Drupal\block\Theme\AdminDemoNegotiator implements ThemeNegotiatorInterface File core/modules/block/src/Theme/AdminDemoNegotiator.php, line 11 Namespace Drupal\block\Theme Members Name Modifiers Type Description AdminDemoNegotiator::applies public function Whether this theme negotiator should be used to set the theme. Overrides ThemeNegotiatorInterface::applies AdminDemoNegotiator::determin

AdminController::__construct

public AdminController::__construct(FormBuilderInterface $form_builder) Constructs an AdminController object. Parameters \Drupal\Core\Form\FormBuilderInterface $form_builder: The form builder. File core/modules/comment/src/Controller/AdminController.php, line 37 Class AdminController Returns responses for comment module administrative routes. Namespace Drupal\comment\Controller Code public function __construct(FormBuilderInterface $form_builder) { $this->formBuilder = $form_build

AdminController::index

public AdminController::index() Prints a listing of admin tasks, organized by module. Return value array A render array containing the listing. File core/modules/system/src/Controller/AdminController.php, line 18 Class AdminController Controller for admin section. Namespace Drupal\system\Controller Code public function index() { $module_info = system_get_info('module'); foreach ($module_info as $module => $info) { $module_info[$module] = new \stdClass(); $module_info[$m

AdminController::create

public static AdminController::create(ContainerInterface $container) Instantiates a new instance of this class. This is a factory method that returns a new instance of this class. The factory should pass any needed dependencies into the constructor of this class, but not the container itself. Every call to this method must return a new instance of this class; that is, it may not implement a singleton. Parameters \Symfony\Component\DependencyInjection\ContainerInterface $container: The service

AdminController::adminPage

public AdminController::adminPage(Request $request, $type = 'new') Presents an administrative comment listing. Parameters \Symfony\Component\HttpFoundation\Request $request: The request of the page. string $type: The type of the overview form ('approval' or 'new') default to 'new'. Return value array Then comment multiple delete confirmation form or the comments overview administration form. File core/modules/comment/src/Controller/AdminController.php, line 53 Class AdminController Retur

AdminController::$formBuilder

The form builder. Type: \Drupal\Core\Form\FormBuilderInterface Overrides ControllerBase::$formBuilder File core/modules/comment/src/Controller/AdminController.php, line 20 Class AdminController Returns responses for comment module administrative routes. Namespace Drupal\comment\Controller Code protected $formBuilder;

AdminController

Returns responses for comment module administrative routes. Hierarchy class \Drupal\Core\Controller\ControllerBase implements ContainerInjectionInterface uses LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\comment\Controller\AdminController File core/modules/comment/src/Controller/AdminController.php, line 13 Namespace Drupal\comment\Controller Members Name Modifiers Type Description AdminController::$f