@@ -21,7 +21,7 @@ discard block |
||
21 | 21 | |
22 | 22 | public function prepareRow(Row $row) { |
23 | 23 | if ($image_path = $row->getSourceProperty('Headshot')) { |
24 | - $path = dirname($this->configuration['path']) . '/images/' . $image_path; |
|
24 | + $path = dirname($this->configuration['path']).'/images/'.$image_path; |
|
25 | 25 | |
26 | 26 | $data = file_get_contents($path); |
27 | 27 | $uri = file_build_uri($image_path); |
@@ -33,7 +33,7 @@ discard block |
||
33 | 33 | $links_raw = explode(',', $value); |
34 | 34 | $links = []; |
35 | 35 | foreach ($links_raw as $link) { |
36 | - list($uri,$title) = explode('|', $link); |
|
36 | + list($uri, $title) = explode('|', $link); |
|
37 | 37 | $links[] = [ |
38 | 38 | 'uri' => $uri, |
39 | 39 | 'title' => $title, |
@@ -21,7 +21,7 @@ |
||
21 | 21 | |
22 | 22 | public function prepareRow(Row $row) { |
23 | 23 | if ($image_path = $row->getSourceProperty('Hero Image')) { |
24 | - $path = dirname($this->configuration['path']) . '/images/' . $image_path; |
|
24 | + $path = dirname($this->configuration['path']).'/images/'.$image_path; |
|
25 | 25 | |
26 | 26 | $data = file_get_contents($path); |
27 | 27 | $uri = file_build_uri($image_path); |
@@ -21,7 +21,7 @@ |
||
21 | 21 | |
22 | 22 | public function prepareRow(Row $row) { |
23 | 23 | if ($image_path = $row->getSourceProperty('Image')) { |
24 | - $path = dirname($this->configuration['path']) . '/images/' . $image_path; |
|
24 | + $path = dirname($this->configuration['path']).'/images/'.$image_path; |
|
25 | 25 | |
26 | 26 | $data = file_get_contents($path); |
27 | 27 | $uri = file_build_uri($image_path); |
@@ -12,7 +12,7 @@ |
||
12 | 12 | foreach ($settings['editor']['formats'] as &$format) { |
13 | 13 | // Swap in our custom JS by adding a pseudo plugin. We do this as we do not |
14 | 14 | // provide a button, which is what traditional CKEditor plugins would do. |
15 | - $format['editorSettings']['drupalExternalPlugins']['df_tools_editor'] = base_path() . drupal_get_path('module', 'df_tools_editor') . '/js/df_tools_editor.js'; |
|
15 | + $format['editorSettings']['drupalExternalPlugins']['df_tools_editor'] = base_path().drupal_get_path('module', 'df_tools_editor').'/js/df_tools_editor.js'; |
|
16 | 16 | $format['editorSettings']['extraPlugins'] .= ',df_tools_editor'; |
17 | 17 | } |
18 | 18 | } |
@@ -46,7 +46,7 @@ |
||
46 | 46 | } |
47 | 47 | |
48 | 48 | // Append the prefix before buildRegions. |
49 | - $build['landing-top']['#prefix'] = '<div class="landing-display-' . $class . '">'; |
|
49 | + $build['landing-top']['#prefix'] = '<div class="landing-display-'.$class.'">'; |
|
50 | 50 | |
51 | 51 | // Build the regions via PageBlockDisplayVariant::buildRegions. |
52 | 52 | $build = parent::buildRegions($build); |
@@ -10,7 +10,7 @@ |
||
10 | 10 | */ |
11 | 11 | function df_tools_slideshow_migration_plugins_alter(&$definitions) { |
12 | 12 | // Set up base path. |
13 | - $path = dirname(__FILE__) . '/data/'; |
|
13 | + $path = dirname(__FILE__).'/data/'; |
|
14 | 14 | |
15 | 15 | $migration = _df_migration_copy($definitions['import_block_base'], 'block', 'slideshow', 'block_content', $path); |
16 | 16 | // Add our custom fields. |
@@ -11,7 +11,7 @@ |
||
11 | 11 | 'theme' => 'fin_onecoltabs', |
12 | 12 | 'css' => 'onecoltabs.css', |
13 | 13 | 'regions' => array( |
14 | - 'top' => t('Top region'), |
|
15 | - 'tabs' => t('Tabbed region') |
|
16 | - ), |
|
14 | + 'top' => t('Top region'), |
|
15 | + 'tabs' => t('Tabbed region') |
|
16 | + ), |
|
17 | 17 | ); |
@@ -1,4 +1,4 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -include_once drupal_get_path('module', 'locale') . '/locale.bulk.inc'; |
|
4 | -include_once drupal_get_path('module', 'locale') . '/locale.batch.inc'; |
|
3 | +include_once drupal_get_path('module', 'locale').'/locale.bulk.inc'; |
|
4 | +include_once drupal_get_path('module', 'locale').'/locale.batch.inc'; |
@@ -10,13 +10,13 @@ |
||
10 | 10 | foreach ($geofield_map as $entity_type_id => $fields) { |
11 | 11 | foreach ($fields as $field_name => $info) { |
12 | 12 | $args = array('@field_name' => $field_name); |
13 | - $data_key = $entity_type_id . '__' . $field_name; |
|
13 | + $data_key = $entity_type_id.'__'.$field_name; |
|
14 | 14 | |
15 | 15 | $field_coordinates_table_data = $data[$data_key][$field_name]; |
16 | - $data[$data_key][$data_key . '_simple_proximity'] = [ |
|
16 | + $data[$data_key][$data_key.'_simple_proximity'] = [ |
|
17 | 17 | 'group' => 'Content', |
18 | 18 | 'title' => t('Simple Proximity (@field_name)', $args), |
19 | - 'title short' => $field_coordinates_table_data['title short'] . t(' Simple Proximity'), |
|
19 | + 'title short' => $field_coordinates_table_data['title short'].t(' Simple Proximity'), |
|
20 | 20 | 'help' => $field_coordinates_table_data['help'], |
21 | 21 | 'real field' => $field_name, |
22 | 22 | 'filter' => [ |