You are here

public function ComputedIntegerItem::executeCode in Computed Field 3.x

Same name and namespace in other branches
  1. 8.2 src/Plugin/Field/FieldType/ComputedIntegerItem.php \Drupal\computed_field\Plugin\Field\FieldType\ComputedIntegerItem::executeCode()

Return value

int The integer number.

Overrides ComputedFieldItemTrait::executeCode

File

src/Plugin/Field/FieldType/ComputedIntegerItem.php, line 90

Class

ComputedIntegerItem
Plugin implementation of the 'computed_integer' field type.

Namespace

Drupal\computed_field\Plugin\Field\FieldType

Code

public function executeCode() {
  return (int) parent::executeCode();
}