public function ValidFacebookInstantArticles::query in Facebook Instant Articles 8.2
Same name and namespace in other branches
- 3.x modules/fb_instant_articles_views/src/Plugin/views/filter/ValidFacebookInstantArticles.php \Drupal\fb_instant_articles_views\Plugin\views\filter\ValidFacebookInstantArticles::query()
Add this filter to the query.
Due to the nature of fapi, the value and the operator have an unintended level of indirection. You will find them in $this->operator and $this->value respectively.
Overrides FilterPluginBase::query
File
- modules/
fb_instant_articles_views/ src/ Plugin/ views/ filter/ ValidFacebookInstantArticles.php, line 119
Class
- ValidFacebookInstantArticles
- Simple filter that checks if a node implements the FIA custom view mode.
Namespace
Drupal\fb_instant_articles_views\Plugin\views\filterCode
public function query() {
$this
->enabledNodeBundlesSetValues();
parent::query();
}