protected function CkEditorContext::getDefault in Lightning Core 8.2
Same name and namespace in other branches
- 8.5 tests/contexts/CkEditorContext.behat.inc \Acquia\LightningExtension\Context\CkEditorContext::getDefault()
- 8 tests/contexts/CkEditorContext.behat.inc \Acquia\LightningExtension\Context\CkEditorContext::getDefault()
- 8.3 tests/contexts/CkEditorContext.behat.inc \Acquia\LightningExtension\Context\CkEditorContext::getDefault()
- 8.4 tests/contexts/CkEditorContext.behat.inc \Acquia\LightningExtension\Context\CkEditorContext::getDefault()
Returns the first available CKEditor instance ID.
Return value
string|false The first CKEditor instance ID, or FALSE if there are no instances.
1 call to CkEditorContext::getDefault()
- CkEditorContext::assertEditor in tests/
contexts/ CkEditorContext.behat.inc - Asserts that a CKEditor instance exists and is fully loaded.
File
- tests/
contexts/ CkEditorContext.behat.inc, line 158
Class
- CkEditorContext
- Contains step definitions for working with CKEditor instances.
Namespace
Acquia\LightningExtension\ContextCode
protected function getDefault() {
$keys = $this
->getKeys();
return reset($keys);
}