You are here

public function WorkflowItem::insert in Workflow 7.2

Same name and namespace in other branches
  1. 7 includes/Field/WorkflowItem.php \WorkflowItem::insert()

Implements hook_field_insert() -> FieldItemInterface::insert().

File

includes/Field/WorkflowItem.php, line 267
Contains workflow\includes\Field\WorkflowItem.

Class

WorkflowItem
Plugin implementation of the 'workflow' field type.

Code

public function insert() {
  return $this
    ->update();
}