Same name in other branches
- 7.x-3.x quicktabs.classes.inc \QuickContent::__construct()
Constructor
2 methods override QuickContent::__construct()
- QuickCallbackContent::__construct dans src/
Plugin/ QuickContent/ QuickCallbackContent.php - QuickViewContent::__construct dans src/
Plugin/ QuickContent/ QuickViewContent.php - Constructor
Fichier
-
src/
QuickContent.php, line 34
Classe
- QuickContent
- Abstract base class for content plugins.
Namespace
Drupal\quicktabsCode
public function __construct($item) {
$this->title = isset($item['title']) ? $item['title'] : '';
// We do not need to store title, type or weight in the settings array, which
// is for type-specific settings.
unset($item['title'], $item['type'], $item['weight']);
$this->settings = $item;
}