You are here

public function Element::setItem in Business Rules 2.x

Same name and namespace in other branches
  1. 8 src/Util/Flowchart/Element.php \Drupal\business_rules\Util\Flowchart\Element::setItem()

Set the item element.

Parameters

\Drupal\Core\Entity\EntityInterface $item: The item.

1 call to Element::setItem()
Element::__construct in src/Util/Flowchart/Element.php
Element constructor.

File

src/Util/Flowchart/Element.php, line 105

Class

Element
Class Element.

Namespace

Drupal\business_rules\Util\Flowchart

Code

public function setItem(EntityInterface $item) {
  $this->item = $item;
}