Skip to content

Commit

Permalink
Replace deprecated 'context' condition annotation with 'context_defin…
Browse files Browse the repository at this point in the history
…itions' (#925)

There was a cleanup done for this deprecation in #764
before the 'NodeReferencedByNode' condition was made, then the deprecated annotation must have
just been missed in reviewing #808.
  • Loading branch information
JojoVes authored Feb 1, 2023
1 parent fe7e450 commit c36f7d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Plugin/Condition/NodeReferencedByNode.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* @Condition(
* id = "node_referenced_by_node",
* label = @Translation("Node is referenced by other nodes"),
* context = {
* context_definitions = {
* "node" = @ContextDefinition("entity:node", required = TRUE , label = @Translation("node"))
* }
* )
Expand Down

0 comments on commit c36f7d9

Please sign in to comment.