public function YieldToArgumentTrait::defaultExposeOptions in Lightning Core 8
Same name and namespace in other branches
- 8.5 src/YieldToArgumentTrait.php \Drupal\lightning_core\YieldToArgumentTrait::defaultExposeOptions()
- 8.2 src/YieldToArgumentTrait.php \Drupal\lightning_core\YieldToArgumentTrait::defaultExposeOptions()
- 8.3 src/YieldToArgumentTrait.php \Drupal\lightning_core\YieldToArgumentTrait::defaultExposeOptions()
- 8.4 src/YieldToArgumentTrait.php \Drupal\lightning_core\YieldToArgumentTrait::defaultExposeOptions()
File
- src/
YieldToArgumentTrait.php, line 71
Class
- YieldToArgumentTrait
- Allows exposed an Views filter to disappear if an argument is present.
Namespace
Drupal\lightning_coreCode
public function defaultExposeOptions() {
parent::defaultExposeOptions();
$this->options['expose']['argument'] = NULL;
}