You are here

public function SlickViewsBase::admin in Slick Views 7.3

Same name and namespace in other branches
  1. 8.2 src/Plugin/views/style/SlickViewsBase.php \Drupal\slick_views\Plugin\views\style\SlickViewsBase::admin()

Returns the slick admin.

File

src/Plugin/views/style/SlickViewsBase.php, line 35

Class

SlickViewsBase
The base class common for Slick style plugins.

Namespace

Drupal\slick_views\Plugin\views\style

Code

public function admin() {
  if (!isset($this->admin)) {
    $this->admin = new SlickAdmin($this
      ->manager());
  }
  return $this->admin;
}