public static function MaestroEngine::getTemplates in Maestro 8.2
Same name and namespace in other branches
- 3.x src/Engine/MaestroEngine.php \Drupal\maestro\Engine\MaestroEngine::getTemplates()
GetTemplates method Gets all of the available Maestro templates established in the system.
Return value
array Array or FALSE
8 calls to MaestroEngine::getTemplates()
- MaestroEngineTemplateFilter::generateTemplateOptions in src/
Plugin/ views/ filter/ MaestroEngineTemplateFilter.php - Generate the options for this template.
- MaestroInteractiveExampleTaskUninstallValidator::validate in modules/
examples/ maestro_interactive_task_plugin_example/ src/ MaestroInteractiveExampleTaskUninstallValidator.php - Determines the reasons a module can not be uninstalled.
- MaestroNonInteractiveExampleTaskUninstallValidator::validate in modules/
examples/ maestro_noninteractive_task_plugin_example/ src/ MaestroNonInteractiveExampleTaskUninstallValidator.php - Determines the reasons a module can not be uninstalled.
- MaestroSpawnSubFlowTask::getTaskEditForm in src/
Plugin/ EngineTasks/ MaestroSpawnSubFlowTask.php - Method to allow a task to add their own fields to the task edit form.
- MaestroTemplateFormBase::exists in src/
Form/ MaestroTemplateFormBase.php - Internal method callback to determine if a template already exists.
File
- src/
Engine/ MaestroEngine.php, line 111
Class
- MaestroEngine
- Class MaestroEngine.
Namespace
Drupal\maestro\EngineCode
public static function getTemplates() {
$entity_store = \Drupal::entityTypeManager()
->getStorage('maestro_template');
return $entity_store
->loadMultiple();
}