configuration['uri']) && !$this->isNegated()) { return TRUE; } $media = $this->getContextValue('media'); if (!$media) { return FALSE; } return $this->evaluateEntity($media); } /** * {@inheritdoc} */ public function summary() { if (!empty($this->configuration['negate'])) { return $this->t('The media is not associated with taxonomy term with uri @uri.', ['@uri' => $this->configuration['uri']]); } else { return $this->t('The media is associated with taxonomy term with uri @uri.', ['@uri' => $this->configuration['uri']]); } } }