public SearchPageListBuilder::__construct(EntityTypeInterface $entity_type, EntityStorageInterface $storage, SearchPluginManager $search_manager, ConfigFactoryInterface $config_factory)
Constructs a new SearchPageListBuilder object.
Parameters
\Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity type definition.
\Drupal\Core\Entity\EntityStorageInterface $storage: The entity storage class.
\Drupal\search\SearchPluginManager $search_manager: The search plugin manager.
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The factory for configuration objects.
Overrides DraggableListBuilder::__construct
File
- core/modules/search/src/SearchPageListBuilder.php, line 57
Class
- SearchPageListBuilder
- Defines a class to build a listing of search page entities.
Namespace
Drupal\search
Code
1 2 3 4 5 | 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 ; } |
Please login to continue.