public function DemoContent::count in Open Social 8
Same name and namespace in other branches
- 8.9 modules/custom/social_demo/src/DemoContent.php \Drupal\social_demo\DemoContent::count()
- 8.2 modules/custom/social_demo/src/DemoContent.php \Drupal\social_demo\DemoContent::count()
- 8.3 modules/custom/social_demo/src/DemoContent.php \Drupal\social_demo\DemoContent::count()
- 8.4 modules/custom/social_demo/src/DemoContent.php \Drupal\social_demo\DemoContent::count()
- 8.5 modules/custom/social_demo/src/DemoContent.php \Drupal\social_demo\DemoContent::count()
- 8.6 modules/custom/social_demo/src/DemoContent.php \Drupal\social_demo\DemoContent::count()
- 8.7 modules/custom/social_demo/src/DemoContent.php \Drupal\social_demo\DemoContent::count()
- 8.8 modules/custom/social_demo/src/DemoContent.php \Drupal\social_demo\DemoContent::count()
- 10.3.x modules/custom/social_demo/src/DemoContent.php \Drupal\social_demo\DemoContent::count()
- 10.0.x modules/custom/social_demo/src/DemoContent.php \Drupal\social_demo\DemoContent::count()
- 10.1.x modules/custom/social_demo/src/DemoContent.php \Drupal\social_demo\DemoContent::count()
- 10.2.x modules/custom/social_demo/src/DemoContent.php \Drupal\social_demo\DemoContent::count()
Returns quantity of created items.
Return value
int Returns quantity of created items.
Overrides DemoContentInterface::count
1 call to DemoContent::count()
- EventType::count in modules/
custom/ social_demo/ src/ Plugin/ DemoContent/ EventType.php - Returns quantity of created items.
1 method overrides DemoContent::count()
- EventType::count in modules/
custom/ social_demo/ src/ Plugin/ DemoContent/ EventType.php - Returns quantity of created items.
File
- modules/
custom/ social_demo/ src/ DemoContent.php, line 109
Class
- DemoContent
- Class DemoContent.
Namespace
Drupal\social_demoCode
public function count() {
return count($this->content);
}