You are here

public function PageVariantInterface::setVariantPluginId in Page Manager 8

Same name and namespace in other branches
  1. 8.4 src/PageVariantInterface.php \Drupal\page_manager\PageVariantInterface::setVariantPluginId()

Sets the plugin ID of the variant plugin without loading the Plugin collections.

Parameters

string $variant: The plugin ID of the variant plugin.

Return value

$this

See also

\Drupal\page_manager\Entity\PageVariant::getPluginCollections()

1 method overrides PageVariantInterface::setVariantPluginId()
PageVariant::setVariantPluginId in src/Entity/PageVariant.php
Sets the plugin ID of the variant plugin without loading the Plugin collections.

File

src/PageVariantInterface.php, line 43
Contains Drupal\page_manager\PageVariantInterface.

Class

PageVariantInterface
Provides an interface defining a PageVariant entity.

Namespace

Drupal\page_manager

Code

public function setVariantPluginId($variant);