class BootstrapProvider

Defines a BootstrapProvider annotation object.

Plugin Namespace: "Plugin/Provider".

Hierarchy

  • class \Drupal\bootstrap\Annotation\BootstrapProvider extends \Drupal\Component\Annotation\Plugin

Expanded class hierarchy of BootstrapProvider

Related topics

5 classes are annotated with BootstrapProvider
BootstrapCdn in src/Plugin/Provider/BootstrapCdn.php
The "bootstrapcdn" CDN Provider plugin.
Broken in src/Plugin/Provider/Broken.php
Broken CDN Provider instance.
CdnJs in src/Plugin/Provider/CdnJs.php
The "cdnjs" CDN Provider plugin.
Custom in src/Plugin/Provider/Custom.php
The "custom" CDN Provider plugin.
JsDelivr in src/Plugin/Provider/JsDelivr.php
The "jsdelivr" CDN Provider plugin.

Namespace

Drupal\bootstrap\Annotation
Source
class BootstrapProvider extends Plugin {

  /**
   * An API URL used to retrieve data for the provider.
   *
   * @var string
   *
   * @deprecated in 8.x-3.18, will be removed in a future release.
   */
  protected $api = '';

  /**
   * An array of CSS assets.
   *
   * @var array
   *
   * @deprecated in 8.x-3.18, will be removed in a future release.
   */
  protected $css = [];

  /**
   * A description about the provider.
   *
   * @var string
   */
  protected $description = '';

  /**
   * A flag determining whether or not the API request has failed.
   *
   * @var bool
   *
   * @deprecated in 8.x-3.18, will be removed in a future release.
   */
  protected $error = FALSE;

  /**
   * A flag determining whether or not data has been manually imported.
   *
   * @var bool
   *
   * @deprecated in 8.x-3.18, will be removed in a future release.
   */
  protected $imported = FALSE;

  /**
   * An array of JavaScript assets.
   *
   * @var array
   *
   * @deprecated in 8.x-3.18, will be removed in a future release.
   */
  protected $js = [];

  /**
   * A human-readable label.
   *
   * @var string
   */
  protected $label = '';

  /**
   * An associative array of minified CSS and JavaScript assets.
   *
   * @var array
   *
   * @deprecated in 8.x-3.18, will be removed in a future release.
   */
  protected $min = ['css' => [], 'js' => []];

  /**
   * An array of themes supported by the provider.
   *
   * @var array
   *
   * @deprecated in 8.x-3.18, will be removed in a future release.
   */
  protected $themes = [];

  /**
   * An array of versions supported by the provider.
   *
   * @var array
   *
   * @deprecated in 8.x-3.18, will be removed in a future release.
   */
  protected $versions = [];

}

Members

Contains filters are case sensitive
Name Modifiers Type Description
BootstrapProvider::$api Deprecated protected property An API URL used to retrieve data for the provider.
BootstrapProvider::$css Deprecated protected property An array of CSS assets.
BootstrapProvider::$description protected property A description about the provider.
BootstrapProvider::$error Deprecated protected property A flag determining whether or not the API request has failed.
BootstrapProvider::$imported Deprecated protected property A flag determining whether or not data has been manually imported.
BootstrapProvider::$js Deprecated protected property An array of JavaScript assets.
BootstrapProvider::$label protected property A human-readable label.
BootstrapProvider::$min Deprecated protected property An associative array of minified CSS and JavaScript assets.
BootstrapProvider::$themes Deprecated protected property An array of themes supported by the provider.
BootstrapProvider::$versions Deprecated protected property An array of versions supported by the provider.