original_string: protected function bootRichEditorEvents()
      {
          Event::listen('backend.richeditor.listTypes', function () {
              return [
                  'cms-page' => 'cms::lang.page.cms_page'
              ];
          });
  
          Event::listen('backend.richeditor.getTypeInfo', function ($type) {
              if ($type === 'cms-page') {
                  return CmsPage::getRichEditorTypeInfo($type);
              }
          });
      }
code: protected function bootRichEditorEvents()
      {
          Event::listen('backend.richeditor.listTypes', function () {
              return [
                  'cms-page' => 'cms::lang.page.cms_page'
              ];
          });
  
          Event::listen('backend.richeditor.getTypeInfo', function ($type) {
              if ($type === 'cms-page') {
                  return CmsPage::getRichEditorTypeInfo($type);
              }
          });
      }
code_tokens: protected function bootRichEditorEvents ( ) { Event :: listen ( 'backend.richeditor.listTypes' , function ( ) { return [ 'cms-page' => 'cms::lang.page.cms_page' ] ; } ) ; Event :: listen ( 'backend.richeditor.getTypeInfo' , function ( $ type ) { if ( $ type === 'cms-page' ) { return CmsPage :: getRichEditorTypeInfo ( $ type ) ; } } ) ; }
docstring: Registers events for rich editor page links.
docstring_tokens: Registers events for rich editor page links .