/** * This could belong in the content context. * * @Given /^I modify a field from the draft$/ */ public function iModifyAFieldFromTheDraft() { $this->contentContext->updateDraft(['name' => 'MODIFIED - ' . $this->contentContext->getCurrentDraft()->getFieldValue('name')->text]); }