You are here

public function PageVariantInterface::addSelectionCondition in Page Manager 8

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

Adds selection criteria.

Parameters

array $configuration: Configuration of the selection criteria.

Return value

string The condition ID of the new criteria.

1 method overrides PageVariantInterface::addSelectionCondition()
PageVariant::addSelectionCondition in src/Entity/PageVariant.php
Adds selection criteria.

File

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

Class

PageVariantInterface
Provides an interface defining a PageVariant entity.

Namespace

Drupal\page_manager

Code

public function addSelectionCondition(array $configuration);