@@ 107-109 (lines=3) @@ | ||
104 | 'view_mode:node.search_result', |
|
105 | 'view_mode:node.teaser', |
|
106 | ]; |
|
107 | foreach ($plugins as $plugin) { |
|
108 | $this->assertTrue(strpos($response[2]['data'], $plugin), 'Plugin ' . $plugin . ' is available in selection.'); |
|
109 | } |
|
110 | ||
111 | $this->container->get('config.factory')->getEditable('entity_embed.settings') |
|
112 | ->set('rendered_entity_mode', TRUE)->save(); |
|
@@ 125-127 (lines=3) @@ | ||
122 | 'entity_reference:entity_reference_entity_id', |
|
123 | 'entity_reference:entity_reference_entity_view', |
|
124 | ]; |
|
125 | foreach ($plugins as $plugin) { |
|
126 | $this->assertTrue(strpos($response[2]['data'], $plugin), 'Plugin ' . $plugin . ' is available in selection.'); |
|
127 | } |
|
128 | /*$this->drupalPostForm(NULL, $edit, 'Next'); |
|
129 | // Ensure form structure of the 'embed' step and submit form. |
|
130 | $this->assertFieldByName('attributes[data-entity-embed-display]', 'Entity Embed Display plugin field is present.'); |