public function PageVariant::getVariantPlugin in Page Manager 8.4
Same name and namespace in other branches
- 8 src/Entity/PageVariant.php \Drupal\page_manager\Entity\PageVariant::getVariantPlugin()
Gets the variant plugin.
Return value
\Drupal\Core\Display\VariantInterface
Overrides PageVariantInterface::getVariantPlugin
File
- src/
Entity/ PageVariant.php, line 229
Class
- PageVariant
- Defines the page variant entity.
Namespace
Drupal\page_manager\EntityCode
public function getVariantPlugin() {
return $this
->getVariantPluginCollection()
->get($this->variant);
}