Example of the youtube-embed pane on imcdgroup.com

Drupal 7: Writing a custom contenttype pane (Youtube-embed).

(this is a copy of the article I wrote at: vdmi.nl)
In this little 'how-to' we will build a youtube-embed contentpane with some basic configuration options. Although working with panels and panelizer is not common practice for everyone, this tutorial asumes you know what they are and how to use them (at least a little bit, like myself :-) ). If you don't, look here and read this


We'll start off with a regular custom module to serve our 'plugins'. 'MYMODULE_plugins'. Since we are writing ctools / panels plugins, ctools and panels are required and therefor we need to set them as a dependency, so the .info looks something like this: