diff --git a/src/Plugin/Condition/EmbargoesEmbargoedCondition.php b/src/Plugin/Condition/EmbargoesEmbargoedCondition.php index 7644a27..c5226b3 100644 --- a/src/Plugin/Condition/EmbargoesEmbargoedCondition.php +++ b/src/Plugin/Condition/EmbargoesEmbargoedCondition.php @@ -18,7 +18,7 @@ * @Condition( * id = "embargoes_embargoed_condition", * label = @Translation("Node is embargoed"), - * context = { + * context_definitions = { * "node" = @ContextDefinition("entity:node", required = TRUE , label = @Translation("Node")) * } * )