ThrobberWanderingCubes.php in Ajax loader 8
File
src/Plugin/ajax_loader/ThrobberWanderingCubes.php
View source
<?php
namespace Drupal\ajax_loader\Plugin\ajax_loader;
use Drupal\ajax_loader\ThrobberPluginBase;
class ThrobberWanderingCubes extends ThrobberPluginBase {
protected function setMarkup() {
return '<div class="ajax-throbber sk-wandering-cubes">
<div class="sk-cube sk-cube1"></div>
<div class="sk-cube sk-cube2"></div>
</div>';
}
protected function setCssFile() {
return $this->path . '/css/wandering-cubes.css';
}
}