/**
  * Constructor method; sets the component data.
  *
  * @param $component_name
  *   The identifier for the component.
  * @param $component_data
  *   (optional) An array of data for the component. Any missing properties
  *   (or all if this is entirely omitted) are given default values.
  *   Valid properties are:
  *      - 'permissions': (optional) An array of permission names.
  */
 function __construct($component_name, $component_data = array())
 {
     // Set some default properties.
     $component_data += array('permissions' => array());
     parent::__construct($component_name, $component_data);
 }