video_embed_field_export_ui.inc 928 B

12345678910111213141516171819202122232425262728293031323334
  1. <?php
  2. /**
  3. * @file
  4. * Defines the CTools Export UI plugin.
  5. */
  6. /**
  7. * Defines this Export UI plugin.
  8. */
  9. $plugin = array(
  10. 'schema' => 'vef_video_styles',
  11. 'access' => 'administer video styles',
  12. // Define the menu item.
  13. 'menu' => array(
  14. 'menu prefix' => 'admin/config/media/vef',
  15. 'menu item' => 'vef_video_styles',
  16. 'menu title' => 'Video Embed Styles',
  17. 'menu description' => 'Administer Video Embed Field\'s video styles.',
  18. ),
  19. // Define user interface texts.
  20. 'title singular' => t('video style'),
  21. 'title plural' => t('video styles'),
  22. 'title singular proper' => t('Video Styles'),
  23. 'title plural proper' => t('Video Styles'),
  24. // Define the names of the functions that provide the add/edit forms.
  25. 'form' => array(
  26. 'settings' => 'video_embed_field_video_style_form',
  27. // 'submit' and 'validate' are also valid callbacks.
  28. ),
  29. 'export' => array(
  30. 'admin_title' => 'title',
  31. ),
  32. );