You are here

public function PageInterface::setParameter in Page Manager 8

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

Adds/updates a given parameter context.

Parameters

string $name: The parameter context name.

string $type: The parameter context type.

string $label: (optional) The parameter context label.

Return value

$this

1 method overrides PageInterface::setParameter()
Page::setParameter in src/Entity/Page.php
Adds/updates a given parameter context.

File

src/PageInterface.php, line 179
Contains \Drupal\page_manager\PageInterface.

Class

PageInterface
Provides an interface for page entities.

Namespace

Drupal\page_manager

Code

public function setParameter($name, $type, $label = '');