You are here

public function PageInterface::removeVariant in Page Manager 8.4

Same name and namespace in other branches
  1. 8 src/PageInterface.php \Drupal\page_manager\PageInterface::removeVariant()

Removes a specific variant.

Parameters

string $variant_id: The variant ID.

Return value

$this

1 method overrides PageInterface::removeVariant()
Page::removeVariant in src/Entity/Page.php
Removes a specific variant.

File

src/PageInterface.php, line 75

Class

PageInterface
Provides an interface for page entities.

Namespace

Drupal\page_manager

Code

public function removeVariant($variant_id);