You are here

ThrobberRotatingPlane.php in Ajax loader 8

File

src/Plugin/ajax_loader/ThrobberRotatingPlane.php
View 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

Namesort descending Description
ThrobberRotatingPlane Class ThrobberRotatingPlane.