public static function SocialSearchApiSplitProfileTerms::create in Open Social 10.3.x
Same name and namespace in other branches
- 10.2.x modules/social_features/social_profile/src/Plugin/views/filter/SocialSearchApiSplitProfileTerms.php \Drupal\social_profile\Plugin\views\filter\SocialSearchApiSplitProfileTerms::create()
File
- modules/
social_features/ social_profile/ src/ Plugin/ views/ filter/ SocialSearchApiSplitProfileTerms.php, line 29
Class
- SocialSearchApiSplitProfileTerms
- Defines a filter for filtering on taxonomy term references.
Namespace
Drupal\social_profile\Plugin\views\filterCode
public static function create(ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition) {
$filter = parent::create($container, $configuration, $plugin_id, $plugin_definition);
$filter
->setSocialProfileTagService($container
->get('social_profile.tag_service'));
return $filter;
}