TabTypeBase.php in Quick Tabs 8.3
File
src/TabTypeBase.php
View source
<?php
namespace Drupal\quicktabs;
use Drupal\Component\Plugin\PluginBase;
use Drupal\Core\DependencyInjection\DependencySerializationTrait;
abstract class TabTypeBase extends PluginBase implements TabTypeInterface {
use DependencySerializationTrait;
protected function getName() {
return $this->pluginDefinition['name'];
}
public abstract function optionsForm(array $tab);
public abstract function render(array $tab);
}
Classes
Name |
Description |
TabTypeBase |
Base implementation for plugins that add tabbed output. |