public function jDrupalConnect::__construct in jDrupal 8
Same name and namespace in other branches
- 8.0.x src/Plugin/rest/resource/jDrupalConnect.php \Drupal\jDrupal\Plugin\rest\resource\jDrupalConnect::__construct()
Constructs a Drupal\rest\Plugin\ResourceBase 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.
array $serializer_formats: The available serialization formats.
\Psr\Log\LoggerInterface $logger: A logger instance.
Overrides ResourceBase::__construct
File
- src/
Plugin/ rest/ resource/ jDrupalConnect.php, line 55
Class
- jDrupalConnect
- A home for REST resources provided by jDrupal.
Namespace
Drupal\jDrupal\Plugin\rest\resourceCode
public function __construct(array $configuration, $plugin_id, $plugin_definition, array $serializer_formats, LoggerInterface $logger, EntityTypeManagerInterface $entity_manager, AccountProxyInterface $current_user) {
parent::__construct($configuration, $plugin_id, $plugin_definition, $serializer_formats, $logger);
}