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

public function __construct(QueryFactory $query_factory) {
  $this->queryFactory = $query_factory;
}
doc_Drupal
2016-10-29 08:47:11
Comments
Leave a Comment

Please login to continue.