function 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\Recipe

Code

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.