You are here

public static function MinisiteInterface::createInstance in Mini site 8

Create an instance of this class from the field items.

Parameters

\Drupal\Core\Field\FieldItemListInterface $items: The existing field items.

Return value

\Drupal\minisite\Minisite An instance of this class.

1 method overrides MinisiteInterface::createInstance()
Minisite::createInstance in src/Minisite.php
Create an instance of this class from the field items.

File

src/MinisiteInterface.php, line 49

Class

MinisiteInterface
Interface MinisiteInterface.

Namespace

Drupal\minisite

Code

public static function createInstance(FieldItemListInterface $items);