You are here

function youtube_menu_link_defaults in YouTube Field 8

Implements hook_menu_link_defaults().

File

./youtube.module, line 22
Youtube field module adds a field for YouTube videos.

Code

function youtube_menu_link_defaults() {
  $links = [];
  $links['youtube.settings'] = [
    'link_title' => 'YouTube Field settings',
    'description' => 'Configure global settings for YouTube fields.',
    'route_name' => 'youtube.settings',
    'parent' => 'system.admin.config.media',
  ];
  return $links;
}