original_string: public static function get_component_names() : array {
          $componentnames = [];
          // Get all plugins.
          foreach (self::get_plugin_types() as $plugintype => $typedir) {
              foreach (self::get_plugin_list($plugintype) as $pluginname => $plugindir) {
                  $componentnames[] = $plugintype . '_' . $pluginname;
              }
          }
          // Get all subsystems.
          foreach (self::get_core_subsystems() as $subsystemname => $subsystempath) {
              $componentnames[] = 'core_' . $subsystemname;
          }
          return $componentnames;
      }
code: public static function get_component_names() : array {
          $componentnames = [];
          // Get all plugins.
          foreach (self::get_plugin_types() as $plugintype => $typedir) {
              foreach (self::get_plugin_list($plugintype) as $pluginname => $plugindir) {
                  $componentnames[] = $plugintype . '_' . $pluginname;
              }
          }
          // Get all subsystems.
          foreach (self::get_core_subsystems() as $subsystemname => $subsystempath) {
              $componentnames[] = 'core_' . $subsystemname;
          }
          return $componentnames;
      }
code_tokens: public static function get_component_names ( ) : array { $ componentnames = [ ] ; // Get all plugins. foreach ( self :: get_plugin_types ( ) as $ plugintype => $ typedir ) { foreach ( self :: get_plugin_list ( $ plugintype ) as $ pluginname => $ plugindir ) { $ componentnames [ ] = $ plugintype . '_' . $ pluginname ; } } // Get all subsystems. foreach ( self :: get_core_subsystems ( ) as $ subsystemname => $ subsystempath ) { $ componentnames [ ] = 'core_' . $ subsystemname ; } return $ componentnames ; }
docstring: Returns a list of frankenstyle component names.
  
  E.g.
  [
  'core_course',
  'core_message',
  'mod_assign',
  ...
  ]
  @return array the list of frankenstyle component names.
docstring_tokens: Returns a list of frankenstyle component names .