public function KeyRepositoryInterface::getKeyNamesAsOptions in Key 8
Get an array of key names, useful as options in form fields.
Parameters
array $filters: An array of filters to apply to the list of options.
Return value
array An array of key names, indexed by id.
1 method overrides KeyRepositoryInterface::getKeyNamesAsOptions()
- KeyRepository::getKeyNamesAsOptions in src/
KeyRepository.php - Get an array of key names, useful as options in form fields.
File
- src/
KeyRepositoryInterface.php, line 90
Class
- KeyRepositoryInterface
- Provides the interface for a repository of Key entities.
Namespace
Drupal\keyCode
public function getKeyNamesAsOptions(array $filters);