function VariantCollectionInterface::removeVariant

Same name and namespace in other branches
  1. 4.0.x src/Plugin/VariantCollectionInterface.php \Drupal\ctools\Plugin\VariantCollectionInterface::removeVariant()

Removes a specific variant.

Parameters

string $variant_id: The variant ID.

Return value

$this

File

src/Plugin/VariantCollectionInterface.php, line 40

Class

VariantCollectionInterface
Provides an interface for objects that have variants e.g. Pages.

Namespace

Drupal\ctools\Plugin

Code

public function removeVariant($variant_id);