class TestingInstallTasksInterfaceTasks

Install tasks.

Hierarchy

Expanded class hierarchy of TestingInstallTasksInterfaceTasks

File

core/profiles/tests/testing_install_tasks_interface/src/Install/Tasks/TestingInstallTasksInterfaceTasks.php, line 12

Namespace

Drupal\testing_install_tasks_interface\Install\Tasks
View source
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');
  }

}

Members

Title Sort descending Modifiers Object type Summary Overriden Title
TestingInstallTasksInterfaceTasks::alter public function Implements alter. Overrides TasksInterface::alter
TestingInstallTasksInterfaceTasks::getTasks public function Implements getTasks. Overrides TasksInterface::getTasks

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.