You are here

public static function ExpireAPI::getFrontPageUrls in Cache Expiration 7.2

Return urls for a front page.

6 calls to ExpireAPI::getFrontPageUrls()
drush_expire_internal_path in ./expire.drush.inc
Callback for expire-path drush command.
ExpireComment::expire in includes/expire.comment.inc
Executes expiration actions for comment.
ExpireFile::expire in includes/expire.file.inc
Executes expiration actions for file.
ExpireNode::expire in includes/expire.node.inc
Executes expiration actions for node.
ExpireTaxonomyTerm::expire in includes/expire.taxonomy_term.inc
Executes expiration actions for taxonomy term.

... See full list

File

includes/expire.api.inc, line 358
Provides internal API for page cache flushes.

Class

ExpireAPI
@file Provides internal API for page cache flushes.

Code

public static function getFrontPageUrls() {
  $urls = array();
  $urls['front'] = '';
  $urls['front-path'] = variable_get('site_frontpage', 'node');
  return $urls;
}