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