public function ThemeUpdater::postInstallTasks

public ThemeUpdater::postInstallTasks()

Return an array of links to pages that should be visited post operation.

Return value

array Links which provide actions to take after the install is finished.

Overrides Updater::postInstallTasks

File

modules/system/system.updater.inc, line 144
Subclasses of the Updater class to update Drupal core knows how to update. At this time, only modules and themes are supported.

Class

ThemeUpdater
Class for updating themes using FileTransfer classes via authorize.php.

Code

public function postInstallTasks() {
  return array(
    l(t('Enable newly added themes'), 'admin/appearance'),
    l(t('Administration pages'), 'admin'),
  );
}

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/modules!system!system.updater.inc/function/ThemeUpdater::postInstallTasks/7.x