You are here

public function GeoCodeAddressBlock::getCacheMaxAge in IP Geolocation Views & Maps 8

The maximum age for which this object may be cached.

Return value

int The maximum time in seconds that this object may be cached.

Overrides ContextAwarePluginBase::getCacheMaxAge

File

src/Plugin/Block/GeoCodeAddressBlock.php, line 35

Class

GeoCodeAddressBlock
IPGV&M: Set my location .

Namespace

Drupal\ip_geoloc\Plugin\Block

Code

public function getCacheMaxAge() {
  return 0;
}