/**
  * Constructs a \Drupal\happy_alexandrie\Plugin\RemoteCoverWS\GoogleRemoteCover object.
  *
  * @param array $configuration
  *   A configuration array containing information about the plugin instance.
  * @param string $plugin_id
  *   The plugin_id for the plugin instance.
  * @param mixed $plugin_definition
  *   The plugin implementation definition.
  */
 public function __construct(array $configuration, $plugin_id, $plugin_definition)
 {
     parent::__construct($configuration, $plugin_id, $plugin_definition);
     $this->base_webservice_url = 'https://www.googleapis.com/books/v1/volumes';
 }
Beispiel #2
0
 /**
  * Constructs a \Drupal\happy_alexandrie\Plugin\RemoteCoverWS\Themoviedb object.
  *
  * @param array $configuration
  *   A configuration array containing information about the plugin instance.
  * @param string $plugin_id
  *   The plugin_id for the plugin instance.
  * @param mixed $plugin_definition
  *   The plugin implementation definition.
  */
 public function __construct(array $configuration, $plugin_id, $plugin_definition)
 {
     parent::__construct($configuration, $plugin_id, $plugin_definition);
     $this->base_webservice_url = 'http://api.themoviedb.org/3/';
 }
Beispiel #3
0
 /**
  * Constructs a \Drupal\happy_alexandrie\Plugin\RemoteCoverWS\OpenLibrary object.
  *
  * @param array $configuration
  *   A configuration array containing information about the plugin instance.
  * @param string $plugin_id
  *   The plugin_id for the plugin instance.
  * @param mixed $plugin_definition
  *   The plugin implementation definition.
  */
 public function __construct(array $configuration, $plugin_id, $plugin_definition)
 {
     parent::__construct($configuration, $plugin_id, $plugin_definition);
     $this->base_webservice_url = 'http://covers.openlibrary.org/b/isbn';
 }