You are here

public function ViewmodepagePatternInterface::setPattern in View Mode Page 4.0.x

Same name and namespace in other branches
  1. 8.3 src/ViewmodepagePatternInterface.php \Drupal\view_mode_page\ViewmodepagePatternInterface::setPattern()
  2. 3.2.x src/ViewmodepagePatternInterface.php \Drupal\view_mode_page\ViewmodepagePatternInterface::setPattern()

Set the pattern to use during path processing.

Parameters

string $pattern: The pattern.

Return value

$this Returns the pattern to use during path processing.

1 method overrides ViewmodepagePatternInterface::setPattern()
ViewmodepagePattern::setPattern in src/Entity/ViewmodepagePattern.php
Set the pattern to use during path processing.

File

src/ViewmodepagePatternInterface.php, line 38

Class

ViewmodepagePatternInterface
Provides an interface for defining Viewmodepage pattern entities.

Namespace

Drupal\view_mode_page

Code

public function setPattern($pattern);