ThrobberRotatingPlane.php in Ajax loader 8
Namespace
Drupal\ajax_loader\Plugin\ajax_loaderFile
src/Plugin/ajax_loader/ThrobberRotatingPlane.phpView source
<?php
namespace Drupal\ajax_loader\Plugin\ajax_loader;
use Drupal\ajax_loader\ThrobberPluginBase;
/**
* Class ThrobberRotatingPlane.
*
* @Throbber(
* id = "throbber_rotating_plane",
* label = @Translation("Rotating plane")
* )
*/
class ThrobberRotatingPlane extends ThrobberPluginBase {
/**
* Function to set markup.
*
* @inheritdoc
*/
protected function setMarkup() {
return '<div class="ajax-throbber sk-rotating-plane"></div>';
}
/**
* Function to set css file.
*
* @inheritdoc
*/
protected function setCssFile() {
return $this->path . '/css/rotating-plane.css';
}
}
Classes
Name | Description |
---|---|
ThrobberRotatingPlane | Class ThrobberRotatingPlane. |