BlockContentTypeDeleteForm::__construct

public BlockContentTypeDeleteForm::__construct(QueryFactory $query_factory)

Constructs a query factory object.

Parameters

\Drupal\Core\Entity\Query\QueryFactory $query_factory: The entity query object.

File

core/modules/block_content/src/Form/BlockContentTypeDeleteForm.php, line 28

Class

BlockContentTypeDeleteForm
Provides a confirmation form for deleting a custom block type entity.

Namespace

Drupal\block_content\Form

Code

1
2
3
public function __construct(QueryFactory $query_factory) {
  $this->queryFactory = $query_factory;
}
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.