public function ViewmodepagePatternInterface::setPattern in View Mode Page 4.0.x
Same name and namespace in other branches
- 8.3 src/ViewmodepagePatternInterface.php \Drupal\view_mode_page\ViewmodepagePatternInterface::setPattern()
- 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_pageCode
public function setPattern($pattern);