public function UserHasFacebookAccessToken::__construct in Simple FB Connect 8.3
Constructs a UserHasFacebookAccessToken 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.
SimpleFbConnectPersistentDataHandler $persistent_data_handler: Simple FB Connect persistent data handler.
Overrides ConditionPluginBase::__construct
File
- modules/
simple_fb_connect_rules/ src/ Plugin/ Condition/ UserHasFacebookAccessToken.php, line 42
Class
- UserHasFacebookAccessToken
- Provides a 'User has a Facebook access token' condition.
Namespace
Drupal\simple_fb_connect_rules\Plugin\ConditionCode
public function __construct(array $configuration, $plugin_id, $plugin_definition, SimpleFbConnectPersistentDataHandler $persistent_data_handler) {
parent::__construct($configuration, $plugin_id, $plugin_definition);
$this->persistentDataHandler = $persistent_data_handler;
}