Commit 6d9fd4bf authored by abacaba's avatar abacaba Committed by Baris
Browse files

Issue #2751397 by mfernea, xdevx, imshivani, Pavan B S, eelkeblok, BarisW: Fix...

Issue #2751397 by mfernea, xdevx, imshivani, Pavan B S, eelkeblok, BarisW: Fix coding style to meet Drupal standards
parent 3746ad6b
Loading
Loading
Loading
Loading
+7 −7
Original line number Diff line number Diff line
@@ -72,15 +72,15 @@ DRUSH USERS
To automatically enable stage_file_proxy on your dev machine after sql-sync,
add the following to your dev site alias file:

  $aliases['dev'] = array (
  $aliases['dev'] = [
    'root' => '/path/to/drupalroot',
    'uri' => 'http://example.org',
    'target-command-specific' => array(
      'sql-sync' => array(
        'enable' => array('stage_file_proxy'),
      ),
    ),
  );
    'target-command-specific' => [
      'sql-sync' => [
        'enable' => ['stage_file_proxy'],
      ],
    ],
  ];

In order for this to work, you must copy the file
drush/examples/sync_enable.drush.inc to your ~/.drush folder.
+2 −2
Original line number Diff line number Diff line
@@ -41,13 +41,13 @@ class SettingsForm extends ConfigFormBase {
      '#required' => FALSE,
    ];

    $form['verify'] = array(
    $form['verify'] = [
      '#type' => 'checkbox',
      '#title' => t('Verify SSL.'),
      '#default_value' => $config->get('verify'),
      '#description' => t('If this is true (default) then the request will be done by doing the SSL verification if the origin is using https.'),
      '#required' => FALSE,
    );
    ];

    $stage_file_proxy_origin_dir = $config->get('origin_dir');
    if (!$stage_file_proxy_origin_dir) {
+3 −3

File changed.

Contains only whitespace changes.