Same filename in other branches
Namespace
Drupal\quicktabsFichier
-
src/
TabTypeBase.php
View source
<?php
namespace Drupal\quicktabs;
use Drupal\Component\Plugin\PluginBase;
use Drupal\Core\DependencyInjection\DependencySerializationTrait;
/**
* Base implementation for plugins that add tabbed output.
*/
abstract class TabTypeBase extends PluginBase implements TabTypeInterface {
use DependencySerializationTrait;
/**
* Gets the name of the plugin.
*/
protected function getName() {
return $this->pluginDefinition['name'];
}
/**
* {@inheritdoc}
*/
public abstract function optionsForm(array $tab);
/**
* {@inheritdoc}
*/
public abstract function render(array $tab);
}
Classes
Titre | Deprecated | Résumé |
---|---|---|
TabTypeBase | Base implementation for plugins that add tabbed output. |