function ConfigConfigurator::hasTasks
Same name in other branches
- 11.x core/lib/Drupal/Core/Recipe/ConfigConfigurator.php \Drupal\Core\Recipe\ConfigConfigurator::hasTasks()
Determines if the recipe has any config or config actions to apply.
Return value
bool TRUE if the recipe has any config or config actions to apply, FALSE if not.
File
-
core/
lib/ Drupal/ Core/ Recipe/ ConfigConfigurator.php, line 119
Class
- ConfigConfigurator
- @internal This API is experimental.
Namespace
Drupal\Core\RecipeCode
public function hasTasks() : bool {
return $this->recipeConfigDirectory !== NULL || count($this->config);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.