Search for generateSampleItems
- Search 7.x for generateSampleItems
- Search 8.9.x for generateSampleItems
- Search 10.3.x for generateSampleItems
- Search 11.x for generateSampleItems
- Other projects
Title | Object type | File name | Summary |
---|---|---|---|
FieldItemList::generateSampleItems | function | core/ |
Populates a specified number of field items with valid sample data. |
FieldItemListInterface::generateSampleItems | function | core/ |
Populates a specified number of field items with valid sample data. |
ModerationStateFieldItemList::generateSampleItems | function | core/ |
Populates a specified number of field items with valid sample data. |
OptionsFieldTest::testGenerateSampleItemsWithNoAllowedValues | function | core/ |
Tests that ::generateSampleItems does not fail with empty allowed values. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.