You are here

public function BlocacheMetadata::isOverridden in Blocache (Block Cache Control) 8

Checks whether block cache metadata has been overridden.

Return value

bool Returns TRUE if the block cache metadata has been overridden; FALSE, otherwise.

1 call to BlocacheMetadata::isOverridden()
BlocacheMetadata::getMetadata in src/BlocacheMetadata.php
Gets the cache metadata defined for the block.

File

src/BlocacheMetadata.php, line 203

Class

BlocacheMetadata
Class BlocacheMetadata.

Namespace

Drupal\blocache

Code

public function isOverridden() {
  if (!$this
    ->isBlock()) {
    return FALSE;
  }
  return $this->overridden;
}