You are here

public function OrderFieldsPaneDeriver::__construct in Commerce Checkout Order Fields 8

Constructs a new OrderFieldsPaneDeriver object.

Parameters

string $base_plugin_id: The base plugin ID.

\Drupal\Core\Entity\EntityDisplayRepositoryInterface $entity_display_repository: The entity display repository.

File

src/Plugin/Derivative/OrderFieldsPaneDeriver.php, line 35

Class

OrderFieldsPaneDeriver

Namespace

Drupal\commerce_checkout_order_fields\Plugin\Derivative

Code

public function __construct($base_plugin_id, EntityDisplayRepositoryInterface $entity_display_repository) {
  $this->basePluginId = $base_plugin_id;
  $this->entityDisplayRepository = $entity_display_repository;
}