You are here

function PatternViewDisplay::__construct in Patterns 6.2

File

./pattern.class.php, line 126

Class

PatternViewDisplay

Code

function __construct($name, $title, $display_id) {
  $this->name = $name;
  $this->display_title = $title;
  $this->display_id = $display_id;
  if ($title) {
    $this
      ->section('title', $title);
  }
}