You are here

public function PageVariantInterface::removeStaticContext in Page Manager 8

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

Removes a specific static context.

Parameters

string $name: The static context unique name.

Return value

$this

1 method overrides PageVariantInterface::removeStaticContext()
PageVariant::removeStaticContext in src/Entity/PageVariant.php
Removes a specific static context.

File

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

Class

PageVariantInterface
Provides an interface defining a PageVariant entity.

Namespace

Drupal\page_manager

Code

public function removeStaticContext($name);