CommentTypeListBuilder::getDefaultOperations

public CommentTypeListBuilder::getDefaultOperations(EntityInterface $entity) Gets this list's default operations. Parameters \Drupal\Core\Entity\EntityInterface $entity: The entity the operations are for. Return value array The array structure is identical to the return value of self::getOperations(). Overrides ConfigEntityListBuilder::getDefaultOperations File core/modules/comment/src/CommentTypeListBuilder.php, line 18 Class CommentTypeListBuilder Defines a class to build a listing of

CommentTypeListBuilder::buildHeader

public CommentTypeListBuilder::buildHeader() Builds the header row for the entity listing. Return value array A render array structure of header strings. Overrides EntityListBuilder::buildHeader See also \Drupal\Core\Entity\EntityListBuilder::render() File core/modules/comment/src/CommentTypeListBuilder.php, line 31 Class CommentTypeListBuilder Defines a class to build a listing of comment type entities. Namespace Drupal\comment Code public function buildHeader() { $header['type']

CommentTypeListBuilder::buildRow

public CommentTypeListBuilder::buildRow(EntityInterface $entity) Builds a row for an entity in the entity listing. Parameters \Drupal\Core\Entity\EntityInterface $entity: The entity for this row of the list. Return value array A render array structure of fields for this entity. Overrides EntityListBuilder::buildRow See also \Drupal\Core\Entity\EntityListBuilder::render() File core/modules/comment/src/CommentTypeListBuilder.php, line 40 Class CommentTypeListBuilder Defines a class to bui

CommentTypeListBuilder

Defines a class to build a listing of comment type entities. Hierarchy class \Drupal\Core\Entity\EntityHandlerBase uses DependencySerializationTrait, StringTranslationTraitclass \Drupal\Core\Entity\EntityListBuilder implements EntityHandlerInterface, EntityListBuilderInterfaceclass \Drupal\Core\Config\Entity\ConfigEntityListBuilderclass \Drupal\comment\CommentTypeListBuilder See also \Drupal\comment\Entity\CommentType File core/modules/comment/src/CommentTypeListBuilder.php, line 13 N

CommentTypeInterface::setDescription

public CommentTypeInterface::setDescription($description) Sets the description of the comment type. Parameters string $description: The new description. Return value $this File core/modules/comment/src/CommentTypeInterface.php, line 28 Class CommentTypeInterface Provides an interface defining a comment type entity. Namespace Drupal\comment Code public function setDescription($description);

CommentTypeInterface

Provides an interface defining a comment type entity. Hierarchy interface \Drupal\Core\Entity\EntityInterface; interface \Drupal\Core\Config\Entity\ThirdPartySettingsInterfaceinterface \Drupal\Core\Config\Entity\ConfigEntityInterfaceinterface \Drupal\comment\CommentTypeInterface File core/modules/comment/src/CommentTypeInterface.php, line 10 Namespace Drupal\comment Members Name Modifiers Type Description AccessibleInterface::access public function Checks data value ac

CommentTypeInterface::getTargetEntityTypeId

public CommentTypeInterface::getTargetEntityTypeId() Gets the target entity type id for this comment type. Return value string The target entity type id. File core/modules/comment/src/CommentTypeInterface.php, line 36 Class CommentTypeInterface Provides an interface defining a comment type entity. Namespace Drupal\comment Code public function getTargetEntityTypeId();

CommentTypeInterface::getDescription

public CommentTypeInterface::getDescription() Returns the comment type description. Return value string The comment-type description. File core/modules/comment/src/CommentTypeInterface.php, line 18 Class CommentTypeInterface Provides an interface defining a comment type entity. Namespace Drupal\comment Code public function getDescription();

CommentTypeForm::__construct

public CommentTypeForm::__construct(EntityManagerInterface $entity_manager, LoggerInterface $logger, CommentManagerInterface $comment_manager) Constructs a CommentTypeFormController Parameters \Drupal\Core\Entity\EntityManagerInterface $entity_manager: The entity manager service. \Psr\Log\LoggerInterface $logger: A logger instance. \Drupal\comment\CommentManagerInterface $comment_manager: The comment manager. File core/modules/comment/src/CommentTypeForm.php, line 60 Class CommentTypeForm

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;