public function AutomatedCropManager::getProviderOptionsList in Automated Crop 8
Get the available provider to purpose an automated crop.
Return value
array The Automated crop provider options list.
File
- src/
AutomatedCropManager.php, line 45
Class
- AutomatedCropManager
- Manages EntityRoutingMap plugins.
Namespace
Drupal\automated_cropCode
public function getProviderOptionsList() {
$options = [];
$plugin_definitions = $this
->getDefinitions();
foreach ($plugin_definitions as $name => $plugin) {
$options[$name] = $plugin['label'];
}
return $options;
}