You are here

public function UserSelection::defaultConfiguration in Open Social 8.4

Same name and namespace in other branches
  1. 8.9 modules/social_features/social_profile/src/Plugin/EntityReferenceSelection/UserSelection.php \Drupal\social_profile\Plugin\EntityReferenceSelection\UserSelection::defaultConfiguration()
  2. 8.2 modules/social_features/social_profile/src/Plugin/EntityReferenceSelection/UserSelection.php \Drupal\social_profile\Plugin\EntityReferenceSelection\UserSelection::defaultConfiguration()
  3. 8.3 modules/social_features/social_profile/src/Plugin/EntityReferenceSelection/UserSelection.php \Drupal\social_profile\Plugin\EntityReferenceSelection\UserSelection::defaultConfiguration()
  4. 8.5 modules/social_features/social_profile/src/Plugin/EntityReferenceSelection/UserSelection.php \Drupal\social_profile\Plugin\EntityReferenceSelection\UserSelection::defaultConfiguration()
  5. 8.6 modules/social_features/social_profile/src/Plugin/EntityReferenceSelection/UserSelection.php \Drupal\social_profile\Plugin\EntityReferenceSelection\UserSelection::defaultConfiguration()
  6. 8.7 modules/social_features/social_profile/src/Plugin/EntityReferenceSelection/UserSelection.php \Drupal\social_profile\Plugin\EntityReferenceSelection\UserSelection::defaultConfiguration()
  7. 8.8 modules/social_features/social_profile/src/Plugin/EntityReferenceSelection/UserSelection.php \Drupal\social_profile\Plugin\EntityReferenceSelection\UserSelection::defaultConfiguration()
  8. 10.3.x modules/social_features/social_profile/src/Plugin/EntityReferenceSelection/UserSelection.php \Drupal\social_profile\Plugin\EntityReferenceSelection\UserSelection::defaultConfiguration()
  9. 10.0.x modules/social_features/social_profile/src/Plugin/EntityReferenceSelection/UserSelection.php \Drupal\social_profile\Plugin\EntityReferenceSelection\UserSelection::defaultConfiguration()
  10. 10.1.x modules/social_features/social_profile/src/Plugin/EntityReferenceSelection/UserSelection.php \Drupal\social_profile\Plugin\EntityReferenceSelection\UserSelection::defaultConfiguration()
  11. 10.2.x modules/social_features/social_profile/src/Plugin/EntityReferenceSelection/UserSelection.php \Drupal\social_profile\Plugin\EntityReferenceSelection\UserSelection::defaultConfiguration()

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides UserSelection::defaultConfiguration

File

modules/social_features/social_profile/src/Plugin/EntityReferenceSelection/UserSelection.php, line 26

Class

UserSelection
Provides specific access control for the user entity type.

Namespace

Drupal\social_profile\Plugin\EntityReferenceSelection

Code

public function defaultConfiguration() {
  $configuration = parent::defaultConfiguration();
  $configuration['include_anonymous'] = FALSE;
  return $configuration;
}