public function Language::contextToEvaluate in GoogleTagManager 8
Returns the entity ID of the context value.
Return value
string The entity ID of the context value.
Overrides ConditionBase::contextToEvaluate
File
- src/
Plugin/ Condition/ Language.php, line 119
Class
- Language
- Provides a 'Language' condition.
Namespace
Drupal\google_tag\Plugin\ConditionCode
public function contextToEvaluate() {
return $this
->getContextValue('language')
->getId();
}