public function ValidFacebookInstantArticles::init in Facebook Instant Articles 8
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
- src/
Plugin/ views/ filter/ ValidFacebookInstantArticles.php, line 60 - 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 init(ViewExecutable $view, DisplayPluginBase $display, array &$options = NULL) {
parent::init($view, $display, $options);
$this->valueTitle = t('Facebook Instant articles');
}