You are here

public function ViewmodepagePatternInterface::setPattern in View Mode Page 8.3

Same name and namespace in other branches
  1. 4.0.x 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);