public function ContentEntityForm::__construct in Drupal 9
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Entity/ContentEntityForm.php \Drupal\Core\Entity\ContentEntityForm::__construct()
 
Constructs a ContentEntityForm object.
Parameters
\Drupal\Core\Entity\EntityRepositoryInterface $entity_repository: The entity repository service.
\Drupal\Core\Entity\EntityTypeBundleInfoInterface $entity_type_bundle_info: The entity type bundle service.
\Drupal\Component\Datetime\TimeInterface $time: The time service.
9 calls to ContentEntityForm::__construct()
- AccountForm::__construct in core/
modules/ user/ src/ AccountForm.php  - Constructs a new EntityForm object.
 - BookOutlineForm::__construct in core/
modules/ book/ src/ Form/ BookOutlineForm.php  - Constructs a BookOutlineForm object.
 - CommentForm::__construct in core/
modules/ comment/ src/ CommentForm.php  - Constructs a new CommentForm.
 - MenuLinkContentForm::__construct in core/
modules/ menu_link_content/ src/ Form/ MenuLinkContentForm.php  - Constructs a MenuLinkContentForm object.
 - MessageForm::__construct in core/
modules/ contact/ src/ MessageForm.php  - Constructs a MessageForm object.
 
9 methods override ContentEntityForm::__construct()
- AccountForm::__construct in core/
modules/ user/ src/ AccountForm.php  - Constructs a new EntityForm object.
 - BookOutlineForm::__construct in core/
modules/ book/ src/ Form/ BookOutlineForm.php  - Constructs a BookOutlineForm object.
 - CommentForm::__construct in core/
modules/ comment/ src/ CommentForm.php  - Constructs a new CommentForm.
 - MenuLinkContentForm::__construct in core/
modules/ menu_link_content/ src/ Form/ MenuLinkContentForm.php  - Constructs a MenuLinkContentForm object.
 - MessageForm::__construct in core/
modules/ contact/ src/ MessageForm.php  - Constructs a MessageForm object.
 
File
- core/
lib/ Drupal/ Core/ Entity/ ContentEntityForm.php, line 56  
Class
- ContentEntityForm
 - Entity form variant for content entity types.
 
Namespace
Drupal\Core\EntityCode
public function __construct(EntityRepositoryInterface $entity_repository, EntityTypeBundleInfoInterface $entity_type_bundle_info, TimeInterface $time) {
  $this->entityRepository = $entity_repository;
  $this->entityTypeBundleInfo = $entity_type_bundle_info;
  $this->time = $time;
}