public function ValidFacebookInstantArticles::init 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::init()
Overrides \Drupal\views\Plugin\views\HandlerBase::init().
Provide some extra help to get the operator/value easier to use.
This likely has to be overridden by filters which are more complex than simple operator/value.
Overrides FilterPluginBase::init
File
- modules/
fb_instant_articles_views/ src/ Plugin/ views/ filter/ ValidFacebookInstantArticles.php, line 111
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 init(ViewExecutable $view, DisplayPluginBase $display, array &$options = NULL) {
parent::init($view, $display, $options);
$this->valueTitle = t('Facebook Instant Articles');
}