TestingInstallTasksInterfaceTasks.php
Namespace
Drupal\testing_install_tasks_interface\Install\TasksFile
-
core/
profiles/ tests/ testing_install_tasks_interface/ src/ Install/ Tasks/ TestingInstallTasksInterfaceTasks.php
View source
<?php
declare (strict_types=1);
namespace Drupal\testing_install_tasks_interface\Install\Tasks;
use Drupal\Core\Extension\Install\TasksInterface;
/**
* Install tasks.
*/
class TestingInstallTasksInterfaceTasks implements TasksInterface {
/**
* Implements getTasks.
*/
public function getTasks(array &$install_state) : array {
\Drupal::keyValue('testing_install_tasks_interface')->set('task', 'ran');
return [];
}
/**
* Implements alter.
*/
public function alter(array &$tasks, array $install_state) : void {
\Drupal::keyValue('testing_install_tasks_interface')->set('alter', 'ran');
}
}
Classes
| Title | Deprecated | Summary |
|---|---|---|
| TestingInstallTasksInterfaceTasks | Install tasks. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.