protected static function Main__1_8::complexCalculation in RESTful 7.2
Do a complex calculation.
Return value
int The ID of the db_query_test.
1 call to Main__1_8::complexCalculation()
- Main__1_8::randomRelationship in tests/
modules/ restful_test/ src/ Plugin/ resource/ entity_test/ main/ v1/ Main__1_8.php - Returns a random relationship.
File
- tests/
modules/ restful_test/ src/ Plugin/ resource/ entity_test/ main/ v1/ Main__1_8.php, line 80 - Contains \Drupal\restful_test\Plugin\resource\entity_test\main\v1\Main__1_8.
Class
- Main__1_8
- Class Main__1_8.
Namespace
Drupal\restful_test\Plugin\resource\entity_test\main\v1Code
protected static function complexCalculation() {
return 1;
}