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' (Islandora#925)

There was a cleanup done for this deprecation in Islandora#764
before the 'NodeReferencedByNode' condition was made, then the deprecated annotation must have
just been missed in reviewing Islandora#808.
  • Loading branch information
JojoVes authored and rosiel committed Feb 22, 2023
1 parent 52b457d commit 62c3537
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 62c3537

Please sign in to comment.