protected function SavedSearchTypeDeleteConfirmForm::getConfigNamesToDelete in Search API Saved Searches 8
Returns config names to delete for the deletion confirmation form.
Parameters
\Drupal\Core\Config\Entity\ConfigEntityInterface $entity: The entity being deleted.
Return value
string[] A list of configuration names that will be deleted by this form.
1 call to SavedSearchTypeDeleteConfirmForm::getConfigNamesToDelete()
- SavedSearchTypeDeleteConfirmForm::buildForm in src/
Form/ SavedSearchTypeDeleteConfirmForm.php - Form constructor.
File
- src/
Form/ SavedSearchTypeDeleteConfirmForm.php, line 99
Class
- SavedSearchTypeDeleteConfirmForm
- Provides a form for deleting saved search types.
Namespace
Drupal\search_api_saved_searches\FormCode
protected function getConfigNamesToDelete(ConfigEntityInterface $entity) {
return [
$entity
->getConfigDependencyName(),
];
}