public function OpignoGroupMembershipStatus::init in Opigno Learning path 3.x
Same name and namespace in other branches
- 8 src/Plugin/views/filter/OpignoGroupMembershipStatus.php \Drupal\opigno_learning_path\Plugin\views\filter\OpignoGroupMembershipStatus::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 InOperator::init
File
- src/
Plugin/ views/ filter/ OpignoGroupMembershipStatus.php, line 22
Class
- OpignoGroupMembershipStatus
- Filters by given list of group membership status options.
Namespace
Drupal\opigno_learning_path\Plugin\views\filterCode
public function init(ViewExecutable $view, DisplayPluginBase $display, array &$options = NULL) {
parent::init($view, $display, $options);
$this->valueTitle = t('Group Membership Status');
$this->tableAlias = 'opigno_learning_path_group_user_status';
$this->realField = 'status';
}