public static function MediaParentEntityCacheContext::getLabel in Media Parent Entity Link 8
Returns the label of the cache context.
Return value
string The label of the cache context.
Overrides CacheContextInterface::getLabel
File
- src/
CacheContext/ MediaParentEntityCacheContext.php, line 25
Class
- MediaParentEntityCacheContext
- Class MediaParentEntityCacheContext.
Namespace
Drupal\media_parent_entity_link\CacheContextCode
public static function getLabel() {
\Drupal::messenger()
->addMessage('Lable of cache context');
}