You are here

protected function WebformHelpManager::initVideos in Webform 6.x

Same name and namespace in other branches
  1. 8.5 src/WebformHelpManager.php \Drupal\webform\WebformHelpManager::initVideos()

Initialize videos.

Return value

array An associative array containing videos.

1 call to WebformHelpManager::initVideos()
WebformHelpManager::__construct in src/WebformHelpManager.php
Constructs a WebformHelpManager object.

File

src/WebformHelpManager.php, line 839

Class

WebformHelpManager
Webform help manager.

Namespace

Drupal\webform

Code

protected function initVideos() {
  $videos = [];

  // Jacob Rockowitz (jrockowitz.com).
  $videos += [
    'introduction' => [
      'title' => $this
        ->t('Introduction to Webform for Drupal 8'),
      'content' => $this
        ->t('This screencast provides a general introduction to the Webform module.'),
      'youtube_id' => 'VncMRSwjVto',
      'presentation_id' => '1UmIdNe6ZOvddCVVzFgZ7RVAS5fa88gSumIfQLqd0gJo',
      'links' => [
        [
          'title' => $this
            ->t('Getting Started with Webform in Drupal 8: Part I |  WebWash'),
          'url' => 'https://www.webwash.net/getting-started-webform-drupal-8/',
        ],
        [
          'title' => $this
            ->t('Moving Forward with Webform in Drupal 8: Part II | WebWash'),
          'url' => 'https://www.webwash.net/moving-forward-webform-drupal-8/ ',
        ],
        [
          'title' => $this
            ->t('How to Make an Advanced Webform in Drupal 8 | OSTrainging'),
          'url' => 'https://www.ostraining.com/blog/drupal/how-to-make-a-complex-webform-in-drupal-8/',
        ],
      ],
    ],
    'open_collective' => [
      'title' => $this
        ->t("The Webform module's Open Collective"),
      'content' => $this
        ->t("This screencast provides details about the Webform module's Open Collective"),
      'youtube_id' => 'MtlFTwZLKpc',
      'presentation_id' => '1ykQtm9dBthRoK2Tt3AwiopTxTcPm355uGZEHuXcx2nU',
      'links' => [
        [
          'title' => $this
            ->t("Webform module's Open Collective"),
          'url' => 'https://opencollective.com/webform',
        ],
      ],
    ],
    'about' => [
      'title' => $this
        ->t('About Webform & the Drupal community'),
      'content' => $this
        ->t('This screencast introduces you to the maintainer and community behind the Webform module.'),
      'youtube_id' => 'DhNY4A-KRLY',
      'presentation_id' => '1uwQMoythumBWkWZgAsaWKoypl7KWWvztfCc6F6v2Vqk',
      'links' => [
        [
          'title' => $this
            ->t('Where is the Drupal Community? | Drupal.org'),
          'url' => 'https://www.drupal.org/community',
        ],
        [
          'title' => $this
            ->t('Getting Involved Guide | Drupal.org'),
          'url' => 'https://www.drupal.org/getting-involved-guide',
        ],
        [
          'title' => $this
            ->t('Contributing to Drupal | Drupalize.me'),
          'url' => 'https://drupalize.me/topic/contributing-drupal',
        ],
        [
          'title' => $this
            ->t('Connecting with the Community | Drupalize.me'),
          'url' => 'https://drupalize.me/tutorial/user-guide/thoughts-connecting',
        ],
        [
          'title' => $this
            ->t('Concept: The Drupal Project | Drupalize.me'),
          'url' => 'https://drupalize.me/tutorial/user-guide/understanding-project',
        ],
        [
          'title' => $this
            ->t('Concept: Drupal Licensing | Drupalize.me'),
          'url' => 'https://drupalize.me/tutorial/user-guide/understanding-gpl',
        ],
      ],
    ],
    'installation' => [
      'title' => $this
        ->t('Installing the Webform module'),
      'content' => $this
        ->t('This screencast walks through how to install the Webform and external libraries.'),
      'youtube_id' => '4QtVmKiak-c',
      'presentation_id' => '1S5wsXDOjU7mkvtTrUVqwZQeGSLi4c03GsoVcVrNTuUE',
      'links' => [
        [
          'title' => $this
            ->t('Extending Drupal 8 | Drupal.org'),
          'url' => 'https://www.drupal.org/docs/8/extending-drupal-8',
        ],
        [
          'title' => $this
            ->t('Installing a Module | Drupalize.me'),
          'url' => 'https://drupalize.me/tutorial/user-guide/config-install',
        ],
      ],
    ],
    'forms' => [
      'title' => $this
        ->t('Building forms & templates'),
      'content' => $this
        ->t('This screencast provides an overview of how to create, build, edit and test forms and templates.'),
      'youtube_id' => 'c7Vf0GUEhNs',
      'presentation_id' => '1Ka76boa2PYLBr6wUpIlNOJrzJZpK2QZTLdmfKDwLKic',
      'links' => [
        [
          'title' => $this
            ->t('Form API | Drupal.org'),
          'url' => 'https://www.drupal.org/docs/8/api/form-api',
        ],
        [
          'title' => $this
            ->t('Forms (Form API) | Drupalize.me'),
          'url' => 'https://drupalize.me/topic/forms-form-api',
        ],
        [
          'title' => $this
            ->t('Form API Life Cycle | Drupalize.me'),
          'url' => 'https://drupalize.me/tutorial/form-api-life-cycle',
        ],
        [
          'title' => $this
            ->t('Fun with Forms in Drupal 8 | DrupalCon Austin'),
          'url' => 'https://www.youtube.com/watch?v=WRW8qNiPTHk',
        ],
      ],
    ],
    'elements' => [
      'title' => $this
        ->t('Adding elements to a webform'),
      'content' => $this
        ->t('This screencast provides an overview of how to create, configure and manage form elements, layouts and multi-step wizards.'),
      'youtube_id' => 'u5EN3wjCZ2M',
      'presentation_id' => '1wy0uxKx9kHSTEGPBIPY6TXU1FVY05Z4iP35LXYYOeW8',
      'links' => [
        [
          'title' => $this
            ->t('Render API | Drupal.org'),
          'url' => 'https://www.drupal.org/docs/8/api/render-api',
        ],
        [
          'title' => $this
            ->t('Render arrays | Drupal.org'),
          'url' => 'https://www.drupal.org/docs/8/api/render-api/render-arrays',
        ],
        [
          'title' => $this
            ->t('Render API Overview | Drupalize.me'),
          'url' => 'https://drupalize.me/tutorial/render-api-overview',
        ],
        [
          'title' => $this
            ->t('Form Element Reference | Drupalize.me'),
          'url' => 'https://drupalize.me/tutorial/form-element-reference',
        ],
        [
          'title' => $this
            ->t('What Are Render Elements? | Drupalize.me'),
          'url' => 'https://drupalize.me/tutorial/render-elements',
        ],
      ],
    ],
    'handlers' => [
      'title' => $this
        ->t('Emailing & handling submissions'),
      'content' => $this
        ->t('This screencast shows how to route submissions to external applications and send notifications & confirmations.'),
      'youtube_id' => 'oMCqqBJfWnk',
      'presentation_id' => '1SosCtHtEDHNriKF-y7Hji-5wPOa4XvWWvP13dFXG1AE',
      'links' => [
        [
          'title' => $this
            ->t('Create a Webform Handler in Drupal 8 | Matt Arnold'),
          'url' => 'https://blog.mattarnster.co.uk/tutorials/create-a-webform-handler-in-drupal-8/',
        ],
        [
          'title' => $this
            ->t('The Drupal mail system | Pronovix'),
          'url' => 'https://pronovix.com/blog/drupal-mail-system',
        ],
      ],
    ],
    'variants' => [
      'title' => $this
        ->t('Webform variants'),
      'content' => $this
        ->t("This screencast provides an overview of how to use webform variants to create A/B tests, audience segmentation, and personalization."),
      'youtube_id' => '53aB_mTkrI4',
      'presentation_id' => '1Pd_F8t82iXnNn87fWCj5r2zLh9je-SrCmrpOQjG-xCc',
      'links' => [
        [
          'title' => $this
            ->t('Webform module now supports variants, which can be used for A/B tests, segmentation, and personalization'),
          'url' => 'https://www.drupal.org/node/3104280',
        ],
        [
          'title' => $this
            ->t('Personalized Webforms'),
          'url' => 'https://www.jrockowitz.com/blog/personalized-webforms',
        ],
      ],
    ],
    'settings' => [
      'title' => $this
        ->t('Configuring webform settings'),
      'content' => $this
        ->t("This screencast shows how to configure a form's general settings, submission handling, confirmation message/page, custom CSS/JS and access controls."),
      'youtube_id' => 'Dm8EX-9VM3U',
      'presentation_id' => '1MYEKEbJYhyLRIPUCYMqixsR2X_Ss_zPT7oxvXMOfLbU',
    ],
    'submissions' => [
      'title' => $this
        ->t('Collecting webform submissions'),
      'content' => $this
        ->t("This screencast shows how to manage, review and export a form's submissions."),
      'youtube_id' => 'DUO54Suz-3A',
      'presentation_id' => '11N4UHJo7ohxGg1WqKQsXkHDNMehajKttdUf8o8PB22o',
    ],
    'submission' => [
      'title' => $this
        ->t('Understanding a webform submission'),
      'content' => $this
        ->t("This screencast shows how to review, edit, resend and administer a  submission."),
      'youtube_id' => '2odyu1Muwy0',
      'presentation_id' => '1ItsdeMHKzQICoMH4GPV7cEj5CidDjn-uQP9nWTDrWGM',
      'links' => [
        [
          'title' => $this
            ->t('Entity–attribute–value model | Wikipedia'),
          'url' => 'https://en.wikipedia.org/wiki/Entity–attribute–value_model',
        ],
      ],
    ],
    'import' => [
      'title' => $this
        ->t('Importing webform submissions'),
      'content' => $this
        ->t("This screencast shows how to import submissions using CSV (comma separated values) file."),
      'youtube_id' => 'AYGr4O-jZBo',
      'presentation_id' => '189XhD6m0879EMo44ym8uaZaIAFiEl8tkH31WUtge_u8',
      'links' => [
        [
          'title' => $this
            ->t('Webform module now supports importing submissions | Drupal.org'),
          'url' => 'https://www.drupal.org/node/3040513',
        ],
      ],
    ],
    'configuration' => [
      'title' => $this
        ->t("Configuring the Webform module"),
      'content' => $this
        ->t('This screencast walks through all the configuration settings available to manage forms, submissions, options, handlers, exporters, libraries and assets.'),
      'youtube_id' => '0buvEx8xHgg',
      'presentation_id' => '1Wr2W47eYDIEP6DOzhBXciLPZjltOIruUIC_FKgGDnwI',
      'links' => [
        [
          'title' => $this
            ->t('How to Use Webform Predefined Options in Drupal 8 | WebWash'),
          'url' => 'https://www.webwash.net/use-webform-predefined-options-drupal-8/',
        ],
        [
          'title' => $this
            ->t('Understanding Hooks | Drupal.org'),
          'url' => 'https://www.drupal.org/docs/8/creating-custom-modules/understanding-hooks',
        ],
        [
          'title' => $this
            ->t('What Are Hooks? | Drupalize.me'),
          'url' => 'https://drupalize.me/tutorial/what-are-hooks',
        ],
      ],
    ],
    'access' => [
      'title' => $this
        ->t("Webform access controls"),
      'content' => $this
        ->t('This screencast walks through how to use permissions, roles, and custom access rules to control access to webforms and submissions.'),
      'youtube_id' => 'EPg9Ltwak2M',
      'presentation_id' => '19Xkb2MR5N075Va403slTVRYjanJ14HmuEYBwwbrQFX4',
      'links' => [
        [
          'title' => $this
            ->t('Users, Roles, and Permissions | Drupal.org'),
          'url' => 'https://drupal.org/docs/user_guide/en/user-concept.html ',
        ],
        [
          'title' => $this
            ->t('Users, Roles, and Permissions | Drupalize.me'),
          'url' => 'https://drupalize.me/topic/users-roles-and-permissions',
        ],
        [
          'title' => $this
            ->t('Access Control | Tag1 Consulting'),
          'url' => 'https://tag1consulting.com/blog/access-control',
        ],
      ],
    ],
    'webform_nodes' => [
      'title' => $this
        ->t('Attaching webforms to nodes'),
      'content' => $this
        ->t('This screencast walks through how to attach a webform to node.'),
      'youtube_id' => 'B_ZyCOVKPqA',
      'presentation_id' => '1XoIUSgQ0bb_xCfWx8VZe1WHTr0QoCfnE8DzSAsc2WQM',
      'links' => [
        [
          'title' => $this
            ->t('Working with content types and fields | Drupal.org'),
          'url' => 'https://www.drupal.org/docs/8/administering-drupal-8-site/managing-content-0/working-with-content-types-and-fields',
        ],
        [
          'title' => $this
            ->t('What Are Drupal Entities? | Drupalize.me'),
          'url' => 'https://drupalize.me/videos/what-are-drupal-entities',
        ],
        [
          'title' => $this
            ->t('Concept: Content Entities and Fields | Drupalize.me'),
          'url' => 'https://drupalize.me/tutorial/user-guide/planning-data-types',
        ],
      ],
    ],
    'webform_blocks' => [
      'title' => $this
        ->t('Placing webforms as blocks'),
      'content' => $this
        ->t('This screencast walks through how to place a webform on a website as a block.'),
      'youtube_id' => 'twsawm5pbjI',
      'presentation_id' => '12H1ecphNlulggehltnaS6FWN2hJlwbILULge1WRxYWY',
      'links' => [
        [
          'title' => $this
            ->t('Working with blocks | Drupal.org'),
          'url' => 'https://www.drupal.org/docs/8/core/modules/block/overview',
        ],
        [
          'title' => $this
            ->t('Blocks | Drupalize.me'),
          'url' => 'https://drupalize.me/topic/blocks',
        ],
      ],
    ],
    'addons' => [
      'title' => $this
        ->t('Extending Webform using add-ons'),
      'content' => $this
        ->t("This screencast suggests and recommends additional Drupal projects that can be installed to enhance, improve and alter the Webform module's functionality."),
      'youtube_id' => '2sthMx6adl4',
      'presentation_id' => '1azK1xkHH4-tiQ9TV8GDqVKk4FXgxarM6MPrBWCLljiQ',
      'links' => [
        [
          'title' => $this
            ->t('Extend Drupal with Modules | Drupalize.me'),
          'url' => 'https://drupalize.me/topic/extend-drupal-modules',
        ],
        [
          'title' => $this
            ->t('Download & Extend | Drupal.org'),
          'url' => 'https://www.drupal.org/project/project_module',
        ],
      ],
    ],
    'plugins' => [
      'title' => $this
        ->t("Understanding webform plugins"),
      'content' => $this
        ->t("This screencast offers an overview of the Webform module's element, handler and exporter plugins."),
      'youtube_id' => 'nCSr71mfBR4',
      'presentation_id' => '1SrcG1vJpWlarLW-cJQDsP4QsAzeyrox7HXBcYMFUsQE',
      'links' => [
        [
          'title' => $this
            ->t('Why Plugins? | Drupal.org'),
          'url' => 'https://www.drupal.org/docs/8/api/plugin-api/why-plugins',
        ],
        [
          'title' => $this
            ->t('Plugins | Drupalize.me'),
          'url' => 'https://drupalize.me/topic/plugins',
        ],
        [
          'title' => $this
            ->t('Unraveling the Drupal 8 Plugin System | Drupalize.me'),
          'url' => 'https://drupalize.me/blog/201409/unravelling-drupal-8-plugin-system',
        ],
      ],
    ],
    'dialogs' => [
      'title' => $this
        ->t('Opening webforms in modal dialogs'),
      'content' => $this
        ->t('This screencast shows how to open webforms in modal dialogs.'),
      'youtube_id' => 'zmRxyUHWczw',
      'presentation_id' => '1XlAv-u1lZr13nZvCEuJXtDp4Dmn8X7Fwq_4yac-SajE',
      'links' => [
        [
          'title' => $this
            ->t('Creating a modal in Drupal 8 | Befused'),
          'url' => 'https://www.drupal.org/project/devel',
        ],
        [
          'title' => $this
            ->t('Display forms in a modal dialog with Drupal 8 | Agaric'),
          'url' => 'http://agaric.com/blogs/display-forms-modal-dialog-drupal-8',
        ],
        [
          'title' => $this
            ->t('jQueryUI Dialog Documentation'),
          'url' => 'https://jqueryui.com/dialog/  ',
        ],
      ],
    ],
    'views' => [
      'title' => $this
        ->t('Webform views integration'),
      'content' => $this
        ->t('This presentation shows how to use views to display webform submissions.'),
      'youtube_id' => 'Qs_m5ybxeXk',
      'presentation_id' => '1pUUmwjsyxtU9YB4y0qQbSING1W4YBTcqYQjabmSL5N8',
      'links' => [
        [
          'title' => $this
            ->t('Views module | Drupal.org'),
          'url' => 'https://www.drupal.org/docs/8/core/modules/views',
        ],
        [
          'title' => $this
            ->t('Webform Views Integration | Drupal.org'),
          'url' => 'https://www.drupal.org/project/webform_views',
        ],
        [
          'title' => $this
            ->t('D8 Webform and Webform Views Integration @ Drupalcamp Colorado'),
          'url' => 'https://www.youtube.com/watch?v=Riw9g_y1A_s',
        ],
      ],
    ],
    'attachments' => [
      'title' => $this
        ->t('Sending webform email attachments'),
      'content' => $this
        ->t('This presentation shows how to set up and add email attachments via an email handler.'),
      'youtube_id' => 'w7exQFDIHhQ',
      'presentation_id' => '1DTE9nSg_CKhWkhBCmfks_o2RoeApTHc4orhNxrj2imk',
      'links' => [
        [
          'title' => $this
            ->t('How to send email attachments? | Drupal.org'),
          'url' => 'https://www.drupal.org/node/3021480 ',
        ],
        [
          'title' => $this
            ->t('Webform Attachment sub-module | Drupal.org'),
          'url' => 'https://www.drupal.org/node/3021481',
        ],
      ],
    ],
    'limits' => [
      'title' => $this
        ->t('Submission limits and options limits'),
      'content' => $this
        ->t("This screencast shows how to set submission limits and options limits."),
      'youtube_id' => 'fdkv10v3AX4',
      'presentation_id' => '1owgZ4ueFagynwnzvBsH6krpvLqMXunMJXD32BqMCC-E',
      'links' => [
        [
          'title' => $this
            ->t('Webform now supports option limits as well as submission limits'),
          'url' => 'https://www.drupal.org/node/3080869',
        ],
      ],
    ],
    'custom_options' => [
      'title' => $this
        ->t('Webform custom options elements'),
      'content' => $this
        ->t("The screencast walks through creating custom webform options elements."),
      'youtube_id' => '08Ze1eACM48',
      'presentation_id' => '1MZQ0we3qG9G3eFLtnHXiQ5c_uDfn1jjiBHciAeW311g',
      'links' => [
        [
          'title' => $this
            ->t('Webform module supports creating custom elements using HTML and SVG markup'),
          'url' => 'https://www.drupal.org/node/3089024',
        ],
      ],
    ],
    'print' => [
      'title' => $this
        ->t('Printing webform submissions as PDF documents'),
      'content' => $this
        ->t("This screencast shows how to download, export, and email PDF copies of webform submissions."),
      'youtube_id' => 'Zj1HQNGTHFI',
      'presentation_id' => '1Sp3aam87-wkGpEfJqTxIgVXh0JIquwY-MgXe_7QviuQ',
      'links' => [
        [
          'title' => $this
            ->t('Entity Print | Drupal.org'),
          'url' => 'https://www.drupal.org/project/entity_print',
        ],
        [
          'title' => $this
            ->t('Webform module now supports printing PDF documents | jrockowitz.com'),
          'url' => 'https://www.jrockowitz.com/blog/webform-entity-print',
        ],
      ],
    ],
    'translations' => [
      'title' => $this
        ->t('Translating webforms'),
      'content' => $this
        ->t("This screencast shows how to translate a webform's title, descriptions, label and messages."),
      'youtube_id' => 'dfG37uW5Qu8',
      'presentation_id' => '1TjQJMtNTSyQ4i881B_kMalqqVR3QEFoNgNJIotGNXyY',
      'links' => [
        [
          'title' => $this
            ->t('Translating configuration | Drupal.org'),
          'url' => 'https://www.drupal.org/docs/8/multilingual/translating-configuration',
        ],
        [
          'title' => $this
            ->t('Translating Configuration | Drupalize.me'),
          'url' => 'https://drupalize.me/tutorial/user-guide/language-config-translate',
        ],
      ],
    ],
    'development' => [
      'title' => $this
        ->t('Webform development tools'),
      'content' => $this
        ->t('This screencast gives developers an overview of the tools available to help build, debug and export forms.'),
      'youtube_id' => '4xI-T1OuHn4',
      'presentation_id' => '1vMt2mXhkswjOqfh7AvBQm6jN9dFrfFv5Fd1It-EEHyo',
      'links' => [
        [
          'title' => $this
            ->t('Devel | Drupal.org'),
          'url' => 'https://www.drupal.org/project/devel',
        ],
        [
          'title' => $this
            ->t('Devel | Drupalize.me'),
          'url' => 'https://drupalize.me/topic/devel',
        ],
        [
          'title' => $this
            ->t('Configuration API for Developers | Drupalize.me'),
          'url' => 'https://drupalize.me/topic/configuration-api-developers',
        ],
      ],
    ],
    'api_reuse' => [
      'title' => $this
        ->t('Reusing Webform APIs'),
      'content' => $this
        ->t('This screencast walks through how to reusing the Webform module’s APls to create custom configuration forms.'),
      'youtube_id' => 't8cIZuAjYck',
      'presentation_id' => '11IdSeA_UwT2nbE3jlDEYrESov_mEkL4ehu_Sf1j-eww',
      'links' => [
        [
          'title' => $this
            ->t('Form API | Drupal.org'),
          'url' => 'https://www.drupal.org/project/devel',
        ],
        [
          'title' => $this
            ->t('Examples for Developers | Drupal.org'),
          'url' => 'https://www.drupal.org/project/examples',
        ],
      ],
    ],
    'composites_vs_tables' => [
      'title' => $this
        ->t('Webform Composites vs. Tables'),
      'content' => $this
        ->t('This screencast walks through when to use a webform composite element and when to use a webform table.'),
      'youtube_id' => '7cVIqySy5fs',
      'presentation_id' => '1R13ZGkNgTkxjlN-BT05zrwW2JKhOcvGiByNYl7qtywg',
    ],
    'sharing' => [
      'title' => $this
        ->t('Sharing Webforms'),
      'content' => $this
        ->t('This screencast walks through how to share a webform with any website, webpage, or application.'),
      'youtube_id' => 'oMgOprfJTWA',
      'presentation_id' => '1ZYPW5BWh9gm7APrYKAuMdQKksFN2yWqaeN0C4iK127M',
    ],
    'cards' => [
      'title' => $this
        ->t('Webform Cards'),
      'content' => $this
        ->t('This screencast walks through how to create faster and better multistep form user experiences using the Webform Cards module.'),
      'youtube_id' => 'bDugc2gWQnw',
      'presentation_id' => '1N7gaq8jDyrGQUawBr8hvegQUfqESaBUEI3WYNpVfTKw',
    ],
    'webform' => [
      'title' => $this
        ->t('Webform: There is this for that'),
      'content' => $this
        ->t('One of the key mantras in the Drupal is “there is a module for that, “ and Webform is the module for building forms for Drupal 8.'),
      'youtube_id' => 'zl_ErUKymYo',
      'presentation_id' => '14vpNvDhYKGhHspu9BurIneTL4C1spyfwsqI82MvTYUA',
    ],
    'accessibility' => [
      'title' => $this
        ->t('Webform Accessibility'),
      'content' => $this
        ->t('This presentation is about approaching accessibility using the Webform module for Drupal 8.'),
      'youtube_id' => 'JR0wnd6Orfk',
      'presentation_id' => '1ni2a9id7VT67uO3f0i1UMt9_dswfcSHW1gZcXGCSEcM',
      'links' => [
        [
          'title' => $this
            ->t('Accessibility | Drupal.org'),
          'url' => 'https://www.drupal.org/about/features/accessibility',
        ],
        [
          'title' => $this
            ->t('Drupal 8 Accessibility'),
          'url' => 'https://www.drupal.org/docs/8/accessibility',
        ],
        [
          'title' => $this
            ->t('Webform Accessibility'),
          'url' => 'https://www.drupal.org/docs/8/modules/webform/webform-accessibility',
        ],
      ],
    ],
    'demo' => [
      'title' => $this
        ->t('Webform Demo'),
      'content' => $this
        ->t('This presentation demonstrates how to build a feedback form and an event registration system using the Webform module.'),
      'youtube_id' => 'NPhQoSyD8D8',
      'presentation_id' => '17U1PCV1BQusYq3RnaYMi_zi0iba422SkA6ndQZbr99k',
    ],
    'advanced' => [
      'title' => $this
        ->t('Advanced Webforms'),
      'content' => $this
        ->t('This presentation gives you the extra knowledge you need to get the most out the Webform module.'),
      'youtube_id' => 'Yg2lAzE1heM',
      'presentation_id' => '1TMo0vBjkdtfcIsYWhxQnjO_rG9ebK64oHhdPvTvwNus',
    ],
    'healthcare' => [
      'title' => $this
        ->t('Webforms for Healthcare'),
      'content' => $this
        ->t('This presentation discusses how healthcare organizations can leverage the Webform module for Drupal 8.'),
      'youtube_id' => 'YiK__YobDJw',
      'presentation_id' => '1jxbJkovaubHrhvjIZ-_OoK0zsANqC1vG4HFvAxfszOE/edit',
    ],
    'designers' => [
      'title' => $this
        ->t('Webforms for Designers'),
      'content' => $this
        ->t('This presentation introduces designers to the Webform module for Drupal 8.'),
      'youtube_id' => '-7lxtfYgidY',
      'presentation_id' => '1agZ7Mq0UZBn746dKRbWjQCYvd8HptlejtPhUIuQ2IrE',
    ],
    'government' => [
      'title' => $this
        ->t('Webforms for Government'),
      'content' => $this
        ->t('This screencast will explore how governments can leverage the Webform module for Drupal 8 to build accessible forms that securely collective massive amounts of data.'),
      'youtube_id' => 'WQG6163r9Rs',
      'presentation_id' => '1Mn7qlSR_njTZcGAM3PNQZR8Tvg7qtPhZFQja7Mj5uzI',
    ],
    'everyone' => [
      'title' => $this
        ->t('Webforms for Everyone'),
      'content' => $this
        ->t('This presentation explores how site owners, site builders, and developers can leverage the Webform module for Drupal 8 to build complex and robust forms for their end-users.'),
      'youtube_id' => 'zvilAbrczGM',
      'presentation_id' => '1APpt-55Ht_WLZc656KfQUXUoIAb-PTOmbMwSYSAw6G4',
    ],
  ];

  // WebWash (www.webwash.net/).
  $videos += [
    'webwash_webform' => [
      'title' => $this
        ->t('How to Create Forms using Webform and Contact in Drupal 8'),
      'owner' => $this
        ->t('WebWash'),
      'content' => $this
        ->t('Learn how to create forms using Webform and Contact module in Drupal 8.'),
      'youtube_id' => 'u8PBW0K9I9I',
      'links' => [
        [
          'title' => $this
            ->t('Getting Started with Webform in Drupal 8: Part I |  WebWash'),
          'url' => 'https://www.webwash.net/getting-started-webform-drupal-8/',
        ],
        [
          'title' => $this
            ->t('Moving Forward with Webform in Drupal 8: Part II | WebWash'),
          'url' => 'https://www.webwash.net/moving-forward-webform-drupal-8/ ',
        ],
      ],
    ],
    'webwash_install' => [
      'title' => $this
        ->t('Using Webform in Drupal 8, 1.1: Install Webform'),
      'owner' => $this
        ->t('WebWash'),
      'content' => $this
        ->t('Learn how to download and install the Webform module.'),
      'youtube_id' => 'T4CiLF8fwFQ',
    ],
    'webwash_create' => [
      'title' => $this
        ->t('Using Webform in Drupal 8, 1.2: Create a Form'),
      'owner' => $this
        ->t('WebWash'),
      'content' => $this
        ->t('Learn how to create a form from scratch and add three elements to it: Name, Email and Telephone.'),
      'youtube_id' => 'fr3kTiYKNls',
    ],
    'webwash_conditional' => [
      'title' => $this
        ->t('Using Webform in Drupal 8, 2.1: Create Conditional Elements'),
      'owner' => $this
        ->t('WebWash'),
      'content' => $this
        ->t('Learn how to create conditional elements.'),
      'youtube_id' => 'ic4wu-iZd4Y',
    ],
    'webwash_wizard' => [
      'title' => $this
        ->t('Using Webform in Drupal 8, 2.2: Create Multi-step Wizard'),
      'owner' => $this
        ->t('WebWash'),
      'content' => $this
        ->t('Learn how to create a multi-step page form.'),
      'youtube_id' => 'k17W2yH71ak',
    ],
    'webwash_float' => [
      'title' => $this
        ->t('Using Webform in Drupal 8, 2.3: Float Elements Next to Each Other'),
      'owner' => $this
        ->t('WebWash'),
      'content' => $this
        ->t('Learn how to float elements next to each other on a form.'),
      'youtube_id' => 'EgFNqfVboHQ',
    ],
    'webwash_options' => [
      'title' => $this
        ->t('Using Webform in Drupal 8, 2.4: Create List Options'),
      'owner' => $this
        ->t('WebWash'),
      'content' => $this
        ->t('Learn how to create reusable list options for elements.'),
      'youtube_id' => 'magHXd9DNpg',
      'links' => [
        [
          'title' => $this
            ->t('How to Use Webform Predefined Options in Drupal 8 | WebWash'),
          'url' => 'https://www.webwash.net/use-webform-predefined-options-drupal-8/',
        ],
      ],
    ],
    'webwash_email' => [
      'title' => $this
        ->t('Using Webform in Drupal 8, 2.5: Sending Emails'),
      'owner' => $this
        ->t('WebWash'),
      'content' => $this
        ->t('Learn how to send emails when a submission is submitted.'),
      'youtube_id' => 'kSzi1J1MyBc',
    ],
    'webwash_confirmation' => [
      'title' => $this
        ->t('Using Webform in Drupal 8, 2.6: Create Confirmation Page'),
      'owner' => $this
        ->t('WebWash'),
      'content' => $this
        ->t('Learn how to create a custom confirmation page.'),
      'youtube_id' => 'edYCWGoLzZk',
    ],
    'webwash_submissions' => [
      'title' => $this
        ->t('Using Webform in Drupal 8, 3.1: View, Download and Clear Submissions'),
      'owner' => $this
        ->t('WebWash'),
      'content' => $this
        ->t('Learn how to view and manage submission data.'),
      'youtube_id' => 'dftBF8P4Lh4',
    ],
    'webwash_drafts' => [
      'title' => $this
        ->t('Using Webform in Drupal 8, 3.2: Allow Draft Submissions'),
      'owner' => $this
        ->t('WebWash'),
      'content' => $this
        ->t('Learn how to allow users to save draft submissions.'),
      'youtube_id' => 'xA3RtJFZc_4',
    ],
    'webwash_zapier' => [
      'title' => $this
        ->t('Using Webform in Drupal 8, 4.1: Send Submissions to Zapier'),
      'owner' => $this
        ->t('WebWash'),
      'content' => $this
        ->t('Learn how to integrate Webform with other system using Zapier.'),
      'youtube_id' => 'GY0F-rya2iY',
      'links' => [
        [
          'title' => $this
            ->t('Integrate Webform and Google Sheets using Zapier in Drupal 8 | WebWash'),
          'url' => 'https://www.webwash.net/integrate-webform-and-google-sheets-using-zapier-in-drupal-8/',
        ],
      ],
    ],
    'webwash_block' => [
      'title' => $this
        ->t('Using Webform in Drupal 8, 5.1: Display Form as a Block'),
      'owner' => $this
        ->t('WebWash'),
      'content' => $this
        ->t('Learn how to display a form as a block.'),
      'youtube_id' => 'men4peeDS_4',
    ],
    'webwash_node' => [
      'title' => $this
        ->t('Using Webform in Drupal 8, 5.2: Display Form using Webform Node'),
      'owner' => $this
        ->t('WebWash'),
      'content' => $this
        ->t('Learn how to display forms using Webform Node sub-module.'),
      'youtube_id' => '29pntXdy81k',
    ],
    'webwash_conditional_pattern' => [
      'title' => $this
        ->t('Using Pattern Trigger (Regex) in Webform Conditional Logic in Drupal 8'),
      'owner' => $this
        ->t('WebWash'),
      'content' => $this
        ->t('Learn how to use regular expressions with conditional logic.'),
      'youtube_id' => 'JyZXL8zoJ60',
      'links' => [
        [
          'title' => $this
            ->t('Using Pattern Trigger (Regex) in Webform Conditional Logic in Drupal 8 | WebWash'),
          'url' => 'https://www.webwash.net/using-pattern-trigger-regex-webform-conditional-logic-drupal/',
        ],
      ],
    ],
    'webwash_taxonomy_terms' => [
      'title' => $this
        ->t('Use Taxonomy Terms as Webform Options in Drupal 8'),
      'owner' => $this
        ->t('WebWash'),
      'content' => $this
        ->t('Learn how to create a select element which uses a taxonomy vocabulary instead of the standard options.'),
      'youtube_id' => 'hAqbYDm5EDg',
      'links' => [
        [
          'title' => $this
            ->t('Use Taxonomy Terms as Webform Options in Drupal 8 | WebWash'),
          'url' => 'https://www.webwash.net/taxonomy-terms-as-webform-options-in-drupal/',
        ],
      ],
    ],
  ];
  foreach ($videos as $id => &$video_info) {
    $video_info['id'] = $id;
  }
  return $videos;
}