1 views_handler_filter_entity_bundle.inc views_handler_filter_entity_bundle::init(&$view, &$options)

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 views_handler_filter::init

File

core/modules/views/handlers/views_handler_filter_entity_bundle.inc, line 22
Definition of views_handler_filter_entity_bundle

Class

views_handler_filter_entity_bundle
Filter class which allows to filter by certain bundles of an entity.

Code

function init(&$view, &$options) {
  parent::init($view, $options);

  $this->get_entity_type();
}