You are here

public function NodeOrderListBuilder::__construct in Node Order 8

Constructs a new EntityListBuilder object.

Parameters

\Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity type definition.

\Drupal\Core\Entity\EntityStorageInterface $storage: The entity storage class.

Overrides EntityListBuilder::__construct

File

src/NodeOrderListBuilder.php, line 90

Class

NodeOrderListBuilder
Defines a class to build a listing of node entities.

Namespace

Drupal\nodeorder

Code

public function __construct(EntityTypeInterface $entity_type, EntityStorageInterface $storage, Connection $database, FormBuilderInterface $form_builder, CacheTagsInvalidator $cache_tags_invalidator, CacheBackendInterface $cache_default, Term $taxonomy_term) {
  parent::__construct($entity_type, $storage);
  $this->database = $database;
  $this->formBuilder = $form_builder;
  $this->taxonomyTerm = $taxonomy_term;
  $this->cacheTagsInvalidator = $cache_tags_invalidator;
  $this->cacheDefault = $cache_default;
}