Browse Source

Adding default value for URI for node_has_term condition

pull/828/head
Nigel Banks 4 years ago committed by GitHub
parent
commit
ae2aeccfbb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      src/Plugin/Condition/NodeHasTerm.php

5
src/Plugin/Condition/NodeHasTerm.php

@ -84,7 +84,10 @@ class NodeHasTerm extends ConditionPluginBase implements ContainerFactoryPluginI
*/ */
public function defaultConfiguration() { public function defaultConfiguration() {
return array_merge( return array_merge(
['logic' => 'and'], [
'logic' => 'and',
'uri' => NULL,
],
parent::defaultConfiguration() parent::defaultConfiguration()
); );
} }

Loading…
Cancel
Save