Remove static $view->id()

Created on 4 August 2024, 4 months ago

Hi

Need to work.

/**
* Implements hook_views_pre_render().
*/
function quick_links_format_olivero_views_pre_render(ViewExecutable $view) {
if (isset($view) && ($view->id() == 'quick_links') && ($view->getDisplay()->display['id'] == 'block_1')) {
$view->element['#attached']['library'][] = 'quick_links_format_olivero/olivero_display';
}
}

๐Ÿ“Œ Task
Status

Postponed: needs info

Version

1.0

Component

Code

Created by

๐Ÿ‡ฎ๐Ÿ‡ณIndia radheymkumar Jaipur, Rajasthan, India

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @radheymkumar
  • Status changed to Postponed: needs info 4 months ago
  • ๐Ÿ‡จ๐Ÿ‡ฆCanada mandclu

    There is literally no description in the issue summary of what the perceived problem is. If there is a problem, please also include steps to reproduce. Finally, an issue should only beset to โ€œneeds workโ€ if there is an existing fix (i.e. MR) that requires additional changes.

    Setting this to postponed until there is a clear description of the problem that needs to be addressed.

Production build 0.71.5 2024