public function Element::setItem in Business Rules 8
Same name and namespace in other branches
- 2.x 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\FlowchartCode
public function setItem(EntityInterface $item) {
$this->item = $item;
}