You are here

public function DemoContentInterface::scrambleData in Open Social 8.9

Same name and namespace in other branches
  1. 8.7 modules/custom/social_demo/src/DemoContentInterface.php \Drupal\social_demo\DemoContentInterface::scrambleData()
  2. 8.8 modules/custom/social_demo/src/DemoContentInterface.php \Drupal\social_demo\DemoContentInterface::scrambleData()
  3. 10.3.x modules/custom/social_demo/src/DemoContentInterface.php \Drupal\social_demo\DemoContentInterface::scrambleData()
  4. 10.0.x modules/custom/social_demo/src/DemoContentInterface.php \Drupal\social_demo\DemoContentInterface::scrambleData()
  5. 10.1.x modules/custom/social_demo/src/DemoContentInterface.php \Drupal\social_demo\DemoContentInterface::scrambleData()
  6. 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_demo

Code

public function scrambleData(array $data, $max = NULL);