public function ValidFacebookInstantArticles::query in Facebook Instant Articles 8
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
- src/
Plugin/ views/ filter/ ValidFacebookInstantArticles.php, line 70 - Contains \Drupal\views\Plugin\views\filter\ImplementsViewMode.
Class
- ValidFacebookInstantArticles
- Simple filter that checks if a node implements the FIA custom view mode
Namespace
Drupal\fb_instant_articles\Plugin\views\filterCode
public function query() {
$this
->enabledNodeBundlesSetValues();
parent::query();
}