/** * Constructs a new SearchPageListBuilder object. * * @param \Drupal\Core\Entity\EntityTypeInterface $entity_type * The entity type definition. * @param \Drupal\Core\Entity\EntityStorageInterface $storage * The entity storage class. * @param \Drupal\search\SearchPluginManager $search_manager * The search plugin manager. * @param \Drupal\Core\Config\ConfigFactoryInterface $config_factory * The factory for configuration objects. */ public function __construct(EntityTypeInterface $entity_type, EntityStorageInterface $storage, SearchPluginManager $search_manager, ConfigFactoryInterface $config_factory) { parent::__construct($entity_type, $storage); $this->configFactory = $config_factory; $this->searchManager = $search_manager; }
/** * Constructs a new LanguageListBuilder object. * * @param \Drupal\Core\Entity\EntityTypeInterface $entity_type * The entity type definition. * @param \Drupal\Core\Entity\EntityStorageInterface $storage * The entity storage handler class. * @param \Drupal\Core\Language\LanguageManagerInterface $language_manager * The language manager. * @param \Drupal\Core\Config\ConfigFactoryInterface $config_factory * The factory for configuration objects. */ public function __construct(EntityTypeInterface $entity_type, EntityStorageInterface $storage, LanguageManagerInterface $language_manager, ConfigFactoryInterface $config_factory) { parent::__construct($entity_type, $storage); $this->languageManager = $language_manager; $this->configFactory = $config_factory; }
/** * Constructs a new FilterFormatListBuilder. * * @param \Drupal\Core\Entity\EntityTypeInterface $entity_type * The entity type definition. * @param \Drupal\Core\Entity\EntityStorageInterface $storage * The entity storage class. * @param \Drupal\Core\Config\ConfigFactoryInterface $config_factory * The config factory. */ public function __construct(EntityTypeInterface $entity_type, EntityStorageInterface $storage, ConfigFactoryInterface $config_factory) { parent::__construct($entity_type, $storage); $this->configFactory = $config_factory; }
/** * Constructs a TranslatorListBuilder object. * * @param \Drupal\Core\Entity\EntityTypeInterface $entity_type * The entity type definition. * @param \Drupal\Core\Entity\EntityStorageInterface $storage * The config storage definition. * @param \Drupal\tmgmt\TranslatorManager $translator_manager * The language manager. */ public function __construct(EntityTypeInterface $entity_type, EntityStorageInterface $storage, TranslatorManager $translator_manager) { parent::__construct($entity_type, $storage); $this->storage = $storage; $this->translatorManager = $translator_manager; }
/** * Constructs a new ModerationStateTransitionListBuilder. * * @param \Drupal\Core\Entity\EntityTypeInterface $entity_type * Entity Type. * @param \Drupal\Core\Entity\EntityStorageInterface $transition_storage * Moderation state transition entity storage. * @param \Drupal\Core\Entity\EntityStorageInterface $state_storage * Moderation state entity storage. * @param \Drupal\user\RoleStorageInterface $role_storage * The role storage. */ public function __construct(EntityTypeInterface $entity_type, EntityStorageInterface $transition_storage, EntityStorageInterface $state_storage, RoleStorageInterface $role_storage) { parent::__construct($entity_type, $transition_storage); $this->stateStorage = $state_storage; $this->roleStorage = $role_storage; }
/** * Constructs a new PaymentMethodListBuilder object. * * @param \Drupal\Core\Entity\EntityTypeInterface $entity_type * The entity type definition. * @param \Drupal\Core\Entity\EntityStorageInterface $storage * The entity storage class. * @param \Drupal\uc_payment\Plugin\PaymentMethodManager $payment_method_manager * The payment method plugin manager. */ public function __construct(EntityTypeInterface $entity_type, EntityStorageInterface $storage, PaymentMethodManager $payment_method_manager) { parent::__construct($entity_type, $storage); $this->paymentMethodManager = $payment_method_manager; }
/** * Constructs a new ShippingQuoteMethodListBuilder object. * * @param \Drupal\Core\Entity\EntityTypeInterface $entity_type * The entity type definition. * @param \Drupal\Core\Entity\EntityStorageInterface $storage * The entity storage class. * @param \Drupal\uc_quote\Plugin\ShippingQuotePluginManager $shipping_quote_plugin_manager * The shipping quote plugin manager. */ public function __construct(EntityTypeInterface $entity_type, EntityStorageInterface $storage, ShippingQuotePluginManager $shipping_quote_plugin_manager) { parent::__construct($entity_type, $storage); $this->shippingQuotePluginManager = $shipping_quote_plugin_manager; }
/** * Constructs a new FulfilllmentMethodListBuilder object. * * @param \Drupal\Core\Entity\EntityTypeInterface $entity_type * The entity type definition. * @param \Drupal\Core\Entity\EntityStorageInterface $storage * The entity storage class. * @param \Drupal\uc_fulfillment\Plugin\FulfillmentMethodPluginManager $fulfillment_method_plugin_manager * The fulfillment method plugin manager. */ public function __construct(EntityTypeInterface $entity_type, EntityStorageInterface $storage, FulfillmentMethodPluginManager $fulfillment_method_plugin_manager) { parent::__construct($entity_type, $storage); $this->fulfillmentMethodPluginManager = $fulfillment_method_plugin_manager; }