You are here

class StylePluginBase in Jssor Slider 7

Hierarchy

Expanded class hierarchy of StylePluginBase

1 file declares its use of StylePluginBase
Jssor.php in src/Plugin/views/style/Jssor.php
Definition of Drupal\jssor\Plugin\views\style\Jssor.

File

src/shims/ViewsStylePluginBase.inc, line 6

Namespace

Drupal\views\Plugin\views\style
View source
class StylePluginBase {
  public $options = array();
  function __construct($style_plugin = null) {
    if ($style_plugin) {
      $this->options = $style_plugin->options;
    }
  }
  protected function defineOptions() {
  }
  function options_form(&$form, &$form_state) {
  }
  function buildOptionsForm(&$form, FormStateInterface $form_state) {

    //$this->options['global'] = $form_state->values;
  }

  /**
   * Wrapper function for Drupal's t() function.
   *
   * @param $string
   * @param array $args
   * @param array $options
   * @return null|string
   */
  function t($string, $args = array(), $options = array()) {
    return t($string, $args, $options);
  }

}

Members