You are here

public function UserProfilePage::defaultConfiguration in Context 8.4

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides ConditionPluginBase::defaultConfiguration

File

src/Plugin/Condition/UserProfilePage.php, line 116

Class

UserProfilePage
Provides a 'User profile page status' condition.

Namespace

Drupal\context\Plugin\Condition

Code

public function defaultConfiguration() {
  return [
    'user_status' => [],
    'user_fields' => 'uid',
  ] + parent::defaultConfiguration();
}