You are here

public function EntityFormField::getCacheMaxAge in Views Entity Form Field 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 CacheableDependencyInterface::getCacheMaxAge

File

src/Plugin/views/field/EntityFormField.php, line 274

Class

EntityFormField
Defines a views form element for an entity field widget.

Namespace

Drupal\views_entity_form_field\Plugin\views\field

Code

public function getCacheMaxAge() {
  return Cache::PERMANENT;
}