public function MediaEntityContext::createMultiple in Lightning Media 8.3
Same name and namespace in other branches
- 8 tests/contexts/MediaEntityContext.behat.inc \Acquia\LightningExtension\Context\MediaEntityContext::createMultiple()
- 8.2 tests/contexts/MediaEntityContext.behat.inc \Acquia\LightningExtension\Context\MediaEntityContext::createMultiple()
Creates a set of media items from tabular data.
@Given media items:
Parameters
\Behat\Gherkin\Node\TableNode $table: The table of entity data.
File
- tests/
contexts/ MediaEntityContext.behat.inc, line 47
Class
- MediaEntityContext
- Contains step definitions for interacting with media entities.
Namespace
Acquia\LightningExtension\ContextCode
public function createMultiple(TableNode $table) {
$this
->getContext(EntityContext::class)
->createMultiple('media', $table);
}