public function ComputedIntegerItem::executeCode in Computed Field 3.x
Same name and namespace in other branches
- 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\FieldTypeCode
public function executeCode() {
return (int) parent::executeCode();
}