public function ThrobberPluginBase::__construct in Ajax loader 8
ThrobberPluginBase constructor.
Parameters
array $configuration: Array with configuration.
string $plugin_id: String with plugin id.
mixed $plugin_definition: Plugin definition value.
Overrides PluginBase::__construct
File
- src/
ThrobberPluginBase.php, line 28
Class
- ThrobberPluginBase
- Class ThrobberBase.
Namespace
Drupal\ajax_loaderCode
public function __construct(array $configuration, $plugin_id, $plugin_definition) {
parent::__construct($configuration, $plugin_id, $plugin_definition);
$this->path = '/' . drupal_get_path('module', 'ajax_loader');
$this->markup = $this
->setMarkup();
$this->css_file = $this
->setCssFile();
}