You are here

public function PanelsIPEContext::place in Lightning Layout 8

Places a block into a Panels IPE layout.

@When I place the :plugin_id block from the :category category @When I place the :plugin_id block

Parameters

string $plugin_id: The block plugin ID.

string $category: (optional) The category in which the block plugin resides.

File

tests/contexts/PanelsIPEContext.behat.inc, line 154

Class

PanelsIPEContext
Contains step definitions for interacting with Panels IPE.

Namespace

Acquia\LightningExtension\Context

Code

public function place($plugin_id, $category = NULL) {
  $this
    ->instantiate($plugin_id, $category)
    ->pressButton('Add');
  $this
    ->awaitAjax();
}