/**
  * Registers events for rich editor page links.
  */
 protected function bootRichEditorEvents()
 {
     Event::listen('backend.richeditor.listTypes', function () {
         return ['cms-page' => 'CMS Page'];
     });
     Event::listen('backend.richeditor.getTypeInfo', function ($type) {
         if ($type == 'cms-page') {
             return CmsPage::getRichEditorTypeInfo($type);
         }
     });
 }