You are here

public function ComputedIntegerItem::executeCode in Computed Field 8.2

Same name and namespace in other branches
  1. 3.x 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 103

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();
}