iI need to add extra cssCSS styles for a set of fields in 'jobs'the node add page(Because i need fields in 2 or 3 columns for the )jobs content type,so i'm planning to get but I don't know what template file should I use.I Enabled I enabled Twig debugdebugging, and I tried belowthe following options. I tried editing "page--node--add--jobs.html.twig"
page--node--add--jobs.html.twig, but it shows all regions
hook_theme()
, but the custom template is not getting applied
My code for , but this page shows all regions.
I tried Hook_theme,but custom templatehook_theme()
is not getting appliedthe following.My code is as below:
function custom_module_theme() {
// dpm("node:".drupal_get_path('module', 'comp_jobs'));
return [
'node-jobs-form' => [
'render element' => 'form',
'template' => 'jobs',
'path' => drupal_get_path('module', 'comp_jobs') . '/templates',
],
];
}
Can anybody help in finding the properWhat template file. should I use, and how do I tell Drupal to use that?