public function LayoutParagraphsUpdateLayoutEvent::__construct in Layout Paragraphs 2.0.x
Class cosntructor.
Parameters
\Drupal\layout_paragraphs\LayoutParagraphsLayout $original_layout: The layout object.
\Drupal\layout_paragraphs\LayoutParagraphsLayout $layout: The layout object.
File
- src/
Event/ LayoutParagraphsUpdateLayoutEvent.php, line 44
Class
- LayoutParagraphsUpdateLayoutEvent
- Class definition for Layout Paragraphs Allowed Types event.
Namespace
Drupal\layout_paragraphs\EventCode
public function __construct(LayoutParagraphsLayout $original_layout, LayoutParagraphsLayout $layout) {
$this->originalLayout = $original_layout;
$this->layout = $layout;
}