[ 'title' => t('Single column of text 500px wide'), 'fields' => [ 'text' => [ 'type' => 'text', 'title' => t('Your text'), 'description' => t('This text will be 500px wide.'), ], ], 'theme' => 'layouter_extension_example_one_column_width_500', ], ]; return $templates; } /** * Implements hook_theme(). */ function layouter_extension_example_theme($existing, $type, $theme, $path) { return [ 'layouter_extension_example_one_column_width_500' => [ 'variables' => ['text' => NULL], 'template' => 'one_column_width_500', ], ]; }