public function DemoContentInterface::scrambleData in Open Social 10.0.x
Same name and namespace in other branches
- 8.9 modules/custom/social_demo/src/DemoContentInterface.php \Drupal\social_demo\DemoContentInterface::scrambleData()
- 8.7 modules/custom/social_demo/src/DemoContentInterface.php \Drupal\social_demo\DemoContentInterface::scrambleData()
- 8.8 modules/custom/social_demo/src/DemoContentInterface.php \Drupal\social_demo\DemoContentInterface::scrambleData()
- 10.3.x modules/custom/social_demo/src/DemoContentInterface.php \Drupal\social_demo\DemoContentInterface::scrambleData()
- 10.1.x modules/custom/social_demo/src/DemoContentInterface.php \Drupal\social_demo\DemoContentInterface::scrambleData()
- 10.2.x modules/custom/social_demo/src/DemoContentInterface.php \Drupal\social_demo\DemoContentInterface::scrambleData()
Scramble it.
Parameters
array $data: The data array to scramble.
int|null $max: How many items to generate.
Return value
array An array with list of data.
1 method overrides DemoContentInterface::scrambleData()
- DemoContent::scrambleData in modules/
custom/ social_demo/ src/ DemoContent.php - Scramble it.
File
- modules/
custom/ social_demo/ src/ DemoContentInterface.php, line 91
Class
- DemoContentInterface
- Interface DemoContentInterface.
Namespace
Drupal\social_demoCode
public function scrambleData(array $data, $max = NULL);