Browse Source

Eliminate warnings when using NodeHasMediaUse views filter. (#914)

pull/916/head
Jason Hildebrand 2 years ago committed by GitHub
parent
commit
5f4a6ab3ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      src/Plugin/views/filter/NodeHasMediaUse.php

8
src/Plugin/views/filter/NodeHasMediaUse.php

@ -18,10 +18,10 @@ class NodeHasMediaUse extends FilterPluginBase {
* {@inheritdoc} * {@inheritdoc}
*/ */
protected function defineOptions() { protected function defineOptions() {
return [ $options = parent::defineOptions();
'use_uri' => ['default' => NULL], $options['use_uri'] = ['default' => NULL];
'negated' => ['default' => FALSE], $options['negated'] = ['default' => FALSE];
]; return $options;
} }
/** /**

Loading…
Cancel
Save