You are here

public function PurgeTargetDrupal::cache in Purge 7.2

Set api data to url.

Overrides PurgeCacheable::cache

File

includes/purge.class.inc, line 323
Contains all class and interface definitions for Purge.

Class

PurgeTargetDrupal
Class definition for the Drupal Target.

Code

public function cache() {
  $base_url = $GLOBALS['base_url'];
  $this->urls = array(
    $base_url,
  );
}