CommentTypeForm::form

public CommentTypeForm::form(array $form, FormStateInterface $form_state) Gets the actual form array to be built. Overrides EntityForm::form See also \Drupal\Core\Entity\EntityForm::processForm() \Drupal\Core\Entity\EntityForm::afterBuild() File core/modules/comment/src/CommentTypeForm.php, line 69 Class CommentTypeForm Base form handler for comment type edit forms. Namespace Drupal\comment Code public function form(array $form, FormStateInterface $form_state) { $form = parent::form

CommentTypeForm::create

public static CommentTypeForm::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

CommentTypeForm::$logger

A logger instance. Type: \Psr\Log\LoggerInterface File core/modules/comment/src/CommentTypeForm.php, line 30 Class CommentTypeForm Base form handler for comment type edit forms. Namespace Drupal\comment Code protected $logger;

CommentTypeForm::$entityManager

Entity manager service. Type: \Drupal\Core\Entity\EntityManagerInterface Overrides EntityForm::$entityManager File core/modules/comment/src/CommentTypeForm.php, line 23 Class CommentTypeForm Base form handler for comment type edit forms. Namespace Drupal\comment Code protected $entityManager;

CommentTypeForm::$commentManager

The comment manager. Type: \Drupal\comment\CommentManagerInterface File core/modules/comment/src/CommentTypeForm.php, line 37 Class CommentTypeForm Base form handler for comment type edit forms. Namespace Drupal\comment Code protected $commentManager;

CommentTypeForm

Base form handler for comment type edit forms. Hierarchy class \Drupal\Core\Form\FormBase implements ContainerInjectionInterface, FormInterface uses DependencySerializationTrait, LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\Core\Entity\EntityForm implements EntityFormInterfaceclass \Drupal\comment\CommentTypeForm File core/modules/comment/src/CommentTypeForm.php, line 16 Namespace Drupal\comment Members Name

CommentTypeDeleteForm::__construct

public CommentTypeDeleteForm::__construct(QueryFactory $query_factory, CommentManagerInterface $comment_manager, EntityManager $entity_manager, LoggerInterface $logger) Constructs a query factory object. Parameters \Drupal\Core\Entity\Query\QueryFactory $query_factory: The entity query object. \Drupal\comment\CommentManagerInterface $comment_manager: The comment manager service. \Drupal\Core\Entity\EntityManager $entity_manager: The entity manager service. \Psr\Log\LoggerInterface $logger: A l

CommentTypeDeleteForm::create

public static CommentTypeDeleteForm::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 se

CommentTypeDeleteForm::buildForm

public CommentTypeDeleteForm::buildForm(array $form, FormStateInterface $form_state) Form constructor. Parameters array $form: An associative array containing the structure of the form. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Return value array The form structure. Overrides EntityDeleteForm::buildForm File core/modules/comment/src/Form/CommentTypeDeleteForm.php, line 88 Class CommentTypeDeleteForm Provides a confirmation form for deleting a commen

CommentTypeDeleteForm::$queryFactory

The query factory to create entity queries. Type: \Drupal\Core\Entity\Query\QueryFactory File core/modules/comment/src/Form/CommentTypeDeleteForm.php, line 24 Class CommentTypeDeleteForm Provides a confirmation form for deleting a comment type entity. Namespace Drupal\comment\Form Code public $queryFactory;