You are here

public function ThemeUpdater::postInstallTasks in Drupal 7

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'),
  );
}