Drupal 8  8.0.2
SearchPageListBuilder Class Reference
Inheritance diagram for SearchPageListBuilder:

Public Member Functions

 __construct (EntityTypeInterface $entity_type, EntityStorageInterface $storage, SearchPluginManager $search_manager, ConfigFactoryInterface $config_factory)
 
 getFormId ()
 
 buildHeader ()
 
 buildForm (array $form, FormStateInterface $form_state)
 
 validateForm (array &$form, FormStateInterface $form_state)
 
 submitForm (array &$form, FormStateInterface $form_state)
 
 searchAdminReindexSubmit (array &$form, FormStateInterface $form_state)
 
 validateAddSearchPage (array &$form, FormStateInterface $form_state)
 
 submitAddSearchPage (array &$form, FormStateInterface $form_state)
 
- Public Member Functions inherited from DraggableListBuilder
 __construct (EntityTypeInterface $entity_type, EntityStorageInterface $storage)
 
 buildHeader ()
 
 buildRow (EntityInterface $entity)
 
 render ()
 
 buildForm (array $form, FormStateInterface $form_state)
 
 validateForm (array &$form, FormStateInterface $form_state)
 
 submitForm (array &$form, FormStateInterface $form_state)
 
- Public Member Functions inherited from ConfigEntityListBuilder
 load ()
 
- Public Member Functions inherited from EntityListBuilder
 __construct (EntityTypeInterface $entity_type, EntityStorageInterface $storage)
 
 getStorage ()
 
 load ()
 
 getOperations (EntityInterface $entity)
 
 buildHeader ()
 
 buildRow (EntityInterface $entity)
 
 buildOperations (EntityInterface $entity)
 
 render ()
 
- Public Member Functions inherited from EntityHandlerBase
 setModuleHandler (ModuleHandlerInterface $module_handler)
 

Static Public Member Functions

static createInstance (ContainerInterface $container, EntityTypeInterface $entity_type)
 
- Static Public Member Functions inherited from EntityListBuilder
static createInstance (ContainerInterface $container, EntityTypeInterface $entity_type)
 

Protected Member Functions

 getEditableConfigNames ()
 
- Protected Member Functions inherited from DraggableListBuilder
 formBuilder ()
 
- Protected Member Functions inherited from EntityListBuilder
 getEntityIds ()
 
 getLabel (EntityInterface $entity)
 
 getDefaultOperations (EntityInterface $entity)
 
 getTitle ()
 
- Protected Member Functions inherited from EntityHandlerBase
 moduleHandler ()
 

Protected Attributes

 $entities = array()
 
 $configFactory
 
 $searchManager
 
- Protected Attributes inherited from DraggableListBuilder
 $entitiesKey = 'entities'
 
 $entities = array()
 
 $weightKey = FALSE
 
 $formBuilder
 
- Protected Attributes inherited from EntityListBuilder
 $storage
 
 $entityTypeId
 
 $entityType
 
 $limit = 50
 
- Protected Attributes inherited from EntityHandlerBase
 $moduleHandler
 

Detailed Description

Defines a class to build a listing of search page entities.

See Also

Constructor & Destructor Documentation

__construct ( EntityTypeInterface  $entity_type,
EntityStorageInterface  $storage,
SearchPluginManager  $search_manager,
ConfigFactoryInterface  $config_factory 
)

Constructs a new SearchPageListBuilder object.

Parameters
\Drupal\Core\Entity\EntityTypeInterface$entity_typeThe entity type definition.
\Drupal\Core\Entity\EntityStorageInterface$storageThe entity storage class.
\Drupal\search\SearchPluginManager$search_managerThe search plugin manager.
\Drupal\Core\Config\ConfigFactoryInterface$config_factoryThe factory for configuration objects.

References Drupal\configFactory().

Here is the call graph for this function:

Member Function Documentation

buildForm ( array  $form,
FormStateInterface  $form_state 
)

{}

References Drupal\config(), EntityHandlerBase\moduleHandler(), t(), and Drupal\url().

Here is the call graph for this function:

buildHeader ( )

{}

References RESPONSIVE_PRIORITY_LOW, RESPONSIVE_PRIORITY_MEDIUM, and t().

Here is the call graph for this function:

static createInstance ( ContainerInterface  $container,
EntityTypeInterface  $entity_type 
)
static

{}

getEditableConfigNames ( )
protected

{}

getFormId ( )

{Returns a unique string identifying the form.

Returns
string The unique string identifying the form.
}

Implements FormInterface.

searchAdminReindexSubmit ( array &  $form,
FormStateInterface  $form_state 
)

Form submission handler for the reindex button on the search admin settings form.

submitAddSearchPage ( array &  $form,
FormStateInterface  $form_state 
)

Form submission handler for adding a new search page.

submitForm ( array &  $form,
FormStateInterface  $form_state 
)

{}

References Drupal\config(), and t().

Here is the call graph for this function:

validateAddSearchPage ( array &  $form,
FormStateInterface  $form_state 
)

Form validation handler for adding a new search page.

References t().

Here is the call graph for this function:

validateForm ( array &  $form,
FormStateInterface  $form_state 
)

{}


The documentation for this class was generated from the following file: