Skip to main content
added 114 characters in body
Source Link
if($variables['element']['#name'] = 'view_name') { // value from 

should be

if($variables['element']['#name'] == 'view_name') { // value from 

AND

$suggestions[] = 'suggested_template';

should be

$suggestions[] = 'suggested__template';

:)

if($variables['element']['#name'] = 'view_name') { // value from 

should be

if($variables['element']['#name'] == 'view_name') { // value from 

:)

if($variables['element']['#name'] = 'view_name') { // value from 

should be

if($variables['element']['#name'] == 'view_name') { // value from 

AND

$suggestions[] = 'suggested_template';

should be

$suggestions[] = 'suggested__template';

:)

Source Link

if($variables['element']['#name'] = 'view_name') { // value from 

should be

if($variables['element']['#name'] == 'view_name') { // value from 

:)