/** * {@inheritdoc} */ public function access(AccountInterface $account = NULL) { // If no blocks are configured for this variant, deny access. if (empty($this->configuration['blocks'])) { return FALSE; } // Delegate to the conditions. if ($this->determineSelectionAccess($this->getContexts()) === FALSE) { return FALSE; } return parent::access($account); }