@@ -42,7 +42,7 @@ discard block |
||
| 42 | 42 | $session->switchToWindow(); |
| 43 | 43 | // @TODO: Make this smarter, because we can't be sure that #edit-submit |
| 44 | 44 | // exists at all, or that it's the correct submit button. |
| 45 | - $session->executeScript('frames["' . $frame . '"].document.forms[0].querySelector("#edit-submit").click()'); |
|
| 45 | + $session->executeScript('frames["'.$frame.'"].document.forms[0].querySelector("#edit-submit").click()'); |
|
| 46 | 46 | sleep(10); |
| 47 | 47 | $this->minkContext->iWaitForAjaxToFinish(); |
| 48 | 48 | } |
@@ -91,7 +91,7 @@ discard block |
||
| 91 | 91 | */ |
| 92 | 92 | public function selectItem($n, $browser_id = NULL) { |
| 93 | 93 | if ($browser_id) { |
| 94 | - $selector = 'form#entity-browser-' . Html::cleanCssIdentifier($browser_id) . '-form'; |
|
| 94 | + $selector = 'form#entity-browser-'.Html::cleanCssIdentifier($browser_id).'-form'; |
|
| 95 | 95 | } |
| 96 | 96 | else { |
| 97 | 97 | $selector = 'form[data-entity-browser-uuid]'; |
@@ -22,7 +22,7 @@ discard block |
||
| 22 | 22 | /** @var Drupal\migrate_source_csv\CSVFileObject $iterator */ |
| 23 | 23 | $iterator = $source->initializeIterator(); |
| 24 | 24 | $base_path = $iterator->getPath(); |
| 25 | - $filename = $base_path . '/' . $iterator->getFilename(); |
|
| 25 | + $filename = $base_path.'/'.$iterator->getFilename(); |
|
| 26 | 26 | |
| 27 | 27 | $destination = $migration->getDestinationPlugin(); |
| 28 | 28 | $entity_type = explode(':', $destination->getPluginId())[1]; |
@@ -73,14 +73,14 @@ discard block |
||
| 73 | 73 | $entity = $entity_storage->load($id); |
| 74 | 74 | |
| 75 | 75 | // See if a Panelizer config file exists for this Node. |
| 76 | - $panels_file = $base_path . '/panelizer.panels_display.' . $entity_type . '.' . $entity->uuid() . '.yml'; |
|
| 76 | + $panels_file = $base_path.'/panelizer.panels_display.'.$entity_type.'.'.$entity->uuid().'.yml'; |
|
| 77 | 77 | if (file_exists($panels_file) && isset($entity->panelizer)) { |
| 78 | 78 | $yaml = file_get_contents($panels_file); |
| 79 | 79 | |
| 80 | 80 | $panels_display = Yaml::parse($yaml); |
| 81 | 81 | |
| 82 | 82 | // The storage ID isn't based on UUIDs, unfortunately. Hotswap it with current info. |
| 83 | - $panels_display['storage_id'] = $entity_type . ':' . $entity->id() . ':full:' . $entity->getRevisionId(); |
|
| 83 | + $panels_display['storage_id'] = $entity_type.':'.$entity->id().':full:'.$entity->getRevisionId(); |
|
| 84 | 84 | |
| 85 | 85 | // Set the Panels Display to match what's defined in YAML. |
| 86 | 86 | $entity->panelizer->panels_display = $panels_display; |