Same name in this branch
  1. 8.x-1.x src/QuickSet.php \Drupal\quicktabs\QuickSet
Same name in other branches
  1. 7.x-3.x quicktabs.classes.inc \QuickSet

Defines the QuickSet entity.

The QuickSet entity stores information about a quicktab.

Plugin annotation


@ConfigEntityType(
  id = "settings",
  label = @Translation("Settings"),
  module = "quicktabs",
  config_prefix = "settings",
  admin_permission = "administer quicktabs",
  handlers = {
    "storage" = "Drupal\quicktabs\QuicktabStorage",
    "list_builder" = "Drupal\quicktabs\QuicktabListBuilder",
    "form" = {
      "default" = "Drupal\quicktabs\Form\QuicktabEditForm",
      "add" = "Drupal\quicktabs\Form\QuicktabAddForm",
      "delete" = "Drupal\quicktabs\Form\QuicktabDeleteForm",
      "clone" = "Drupal\quicktabs\Form\QuicktabCloneForm",
      "export" = "Drupal\quicktabs\Form\QuicktabExportForm"
    },
  },
  links = {
    "edit" = "/admin/structure/quicktabs/manage/{settings}/edit",
    "add" = "/admin/structure/quicktabs/add",
    "delete" = "/admin/structure/quicktabs/manage/{settings}/delete",
    "clone" = "/admin/structure/quicktabs/manage/{settings}/clone",
    "export" = "/admin/structure/quicktabs/manage/{settings}/export"
  },
  entity_keys = {
    "id" = "id",
    "title" = "title"
  },
  config_export = {
    "id" = "id",
    "title" = "title",
    "renderer" = "renderer",
    "style" = "style",
    "ajax" = "ajax",
    "hide_empty_tabs" = "hide_empty_tabs"
},
)

Hierarchy

  • class \Drupal\quicktabs\Entity\QuickSet extends \Drupal\Core\Config\Entity\ConfigEntityBase

Expanded class hierarchy of QuickSet

1 string reference to 'QuickSet'
QuicktabListBuilder::buildHeader in src/QuicktabListBuilder.php

File

src/Entity/QuickSet.php, line 55

Namespace

Drupal\quicktabs\Entity
View source
class QuickSet extends ConfigEntityBase {
    protected $id;
    protected $title;
    protected $renderer;
    protected $style;
    protected $ajax;
    protected $hide_empty_tabs;
    public function getTitle() {
        return $this->title;
    }
    public function getRenderer() {
        return $this->renderer;
    }
    public function getStyle() {
        return $this->style;
    }
    public function isAjax() {
        return $this->ajax;
    }
    public function getHideEmptyTabs() {
        return $this->hide_empty_tabs;
    }

}

Members

Title Sort descending Modifiers Object type Summary
QuickSet::$ajax protected property
QuickSet::$hide_empty_tabs protected property
QuickSet::$id protected property
QuickSet::$renderer protected property
QuickSet::$style protected property
QuickSet::$title protected property
QuickSet::getHideEmptyTabs public function
QuickSet::getRenderer public function
QuickSet::getStyle public function
QuickSet::getTitle public function
QuickSet::isAjax public function