4 * Contains \Drupal\bootstrap\Annotation\BootstrapProvider.
7 namespace Drupal\bootstrap\Annotation;
9 use Drupal\Component\Annotation\Plugin;
12 * Defines a BootstrapProvider annotation object.
14 * Plugin Namespace: "Plugin/Provider".
16 * @see \Drupal\bootstrap\Plugin\ProviderInterface
17 * @see \Drupal\bootstrap\Plugin\ProviderManager
18 * @see \Drupal\bootstrap\Theme::getProviders()
19 * @see \Drupal\bootstrap\Theme::getProvider()
24 * @ingroup plugins_provider
26 class BootstrapProvider extends Plugin {
29 * An API URL used to retrieve data for the provider.
36 * An array of CSS assets.
43 * A description about the provider.
47 protected $description = '';
50 * A flag determining whether or not the API request has failed.
54 protected $error = FALSE;
57 * A flag determining whether or not data has been manually imported.
61 protected $imported = FALSE;
64 * An array of JavaScript assets.
71 * A human-readable label.
75 protected $label = '';
78 * An associative array of minified CSS and JavaScript assets.
82 protected $min = ['css' => [], 'js' => []];
85 * An array of themes supported by the provider.
89 protected $themes = [];
92 * An array of versions supported by the provider.
96 protected $versions = [];