CommentAdminOverview::validateForm

public CommentAdminOverview::validateForm(array &$form, FormStateInterface $form_state) Form validation 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 FormBase::validateForm File core/modules/comment/src/Form/CommentAdminOverview.php, line 244 Class CommentAdminOverview Provides the comments overview administration form. Namespace Drupal\comment\Fo

CommentBreadcrumbBuilder::applies

public CommentBreadcrumbBuilder::applies(RouteMatchInterface $route_match) Whether this breadcrumb builder should be used to build the breadcrumb. Parameters \Drupal\Core\Routing\RouteMatchInterface $route_match: The current route match. Return value bool TRUE if this builder should be used or FALSE to let other builders decide. Overrides BreadcrumbBuilderInterface::applies File core/modules/comment/src/CommentBreadcrumbBuilder.php, line 38 Class CommentBreadcrumbBuilder Class to define

CommentAdminOverview::__construct

public CommentAdminOverview::__construct(EntityManagerInterface $entity_manager, CommentStorageInterface $comment_storage, DateFormatterInterface $date_formatter, ModuleHandlerInterface $module_handler) Creates a CommentAdminOverview form. Parameters \Drupal\Core\Entity\EntityManagerInterface $entity_manager: The entity manager service. \Drupal\comment\CommentStorageInterface $comment_storage: The comment storage. \Drupal\Core\Datetime\DateFormatterInterface $date_formatter: The date formatter

CommentAdminOverview::getFormId

public CommentAdminOverview::getFormId() Returns a unique string identifying the form. Return value string The unique string identifying the form. Overrides FormInterface::getFormId File core/modules/comment/src/Form/CommentAdminOverview.php, line 82 Class CommentAdminOverview Provides the comments overview administration form. Namespace Drupal\comment\Form Code public function getFormId() { return 'comment_admin_overview'; }

CommentAdminOverview::$moduleHandler

The module handler. Type: \Drupal\Core\Extension\ModuleHandlerInterface File core/modules/comment/src/Form/CommentAdminOverview.php, line 46 Class CommentAdminOverview Provides the comments overview administration form. Namespace Drupal\comment\Form Code protected $moduleHandler;

CommentAdminOverview::buildForm

public CommentAdminOverview::buildForm(array $form, FormStateInterface $form_state, $type = 'new') Form constructor for the comment overview administration form. Parameters array $form: An associative array containing the structure of the form. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. string $type: The type of the overview form ('approval' or 'new'). Return value array The form structure. Overrides FormInterface::buildForm File core/modules/comment/src/

CommentAdminOverview::submitForm

public CommentAdminOverview::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/comment/src/Form/CommentAdminOverview.php, line 255 Class CommentAdminOverview Provides the comments overview administration form. Namespace Drupal\comment\F

CommentAdminOverview::create

public static CommentAdminOverview::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 ser

CommentAdminOverview

Provides the comments overview administration form. Hierarchy class \Drupal\Core\Form\FormBase implements ContainerInjectionInterface, FormInterface uses DependencySerializationTrait, LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\comment\Form\CommentAdminOverview File core/modules/comment/src/Form/CommentAdminOverview.php, line 18 Namespace Drupal\comment\Form Members Name Modifiers Type Description Co

CommentAdminOverview::$dateFormatter

The date formatter service. Type: \Drupal\Core\Datetime\DateFormatterInterface File core/modules/comment/src/Form/CommentAdminOverview.php, line 39 Class CommentAdminOverview Provides the comments overview administration form. Namespace Drupal\comment\Form Code protected $dateFormatter;