You are here

public function UserUid::__construct in Open Social 8.5

Same name and namespace in other branches
  1. 8.9 modules/social_features/social_group/src/Plugin/views/argument/UserUid.php \Drupal\social_group\Plugin\views\argument\UserUid::__construct()
  2. 8 modules/social_features/social_group/src/Plugin/views/argument/UserUid.php \Drupal\social_group\Plugin\views\argument\UserUid::__construct()
  3. 8.2 modules/social_features/social_group/src/Plugin/views/argument/UserUid.php \Drupal\social_group\Plugin\views\argument\UserUid::__construct()
  4. 8.3 modules/social_features/social_group/src/Plugin/views/argument/UserUid.php \Drupal\social_group\Plugin\views\argument\UserUid::__construct()
  5. 8.4 modules/social_features/social_group/src/Plugin/views/argument/UserUid.php \Drupal\social_group\Plugin\views\argument\UserUid::__construct()
  6. 8.6 modules/social_features/social_group/src/Plugin/views/argument/UserUid.php \Drupal\social_group\Plugin\views\argument\UserUid::__construct()
  7. 8.7 modules/social_features/social_group/src/Plugin/views/argument/UserUid.php \Drupal\social_group\Plugin\views\argument\UserUid::__construct()
  8. 8.8 modules/social_features/social_group/src/Plugin/views/argument/UserUid.php \Drupal\social_group\Plugin\views\argument\UserUid::__construct()
  9. 10.3.x modules/social_features/social_group/src/Plugin/views/argument/UserUid.php \Drupal\social_group\Plugin\views\argument\UserUid::__construct()
  10. 10.0.x modules/social_features/social_group/src/Plugin/views/argument/UserUid.php \Drupal\social_group\Plugin\views\argument\UserUid::__construct()
  11. 10.1.x modules/social_features/social_group/src/Plugin/views/argument/UserUid.php \Drupal\social_group\Plugin\views\argument\UserUid::__construct()
  12. 10.2.x modules/social_features/social_group/src/Plugin/views/argument/UserUid.php \Drupal\social_group\Plugin\views\argument\UserUid::__construct()

Constructs a Drupal\Component\Plugin\PluginBase object.

Parameters

array $configuration: A configuration array containing information about the plugin instance.

string $plugin_id: The plugin_id for the plugin instance.

mixed $plugin_definition: The plugin implementation definition.

\Drupal\Core\Database\Connection $database: Database Service Object.

Overrides HandlerBase::__construct

File

modules/social_features/social_group/src/Plugin/views/argument/UserUid.php, line 40

Class

UserUid
Argument handler to accept a user id.

Namespace

Drupal\social_group\Plugin\views\argument

Code

public function __construct(array $configuration, $plugin_id, $plugin_definition, Connection $database) {
  parent::__construct($configuration, $plugin_id, $plugin_definition);
  $this->database = $database;
}