Generator/Info5.php
function file_body() {
    $lines = array();
    $lines['name'] =  $this->component_data['readable_name'];
    $lines['description'] =  $this->component_data['short_description'];

    if (!empty( $this->component_data['module_dependencies'])) {
      $lines['dependencies'] = implode(' ',  $this->component_data['module_dependencies']);
    }

    if (!empty( $this->component_data['module_package'])) {
      $lines['package'] =  $this->component_data['module_package'];
    }

    $info = $this->process_info_lines($lines);
    return $info;
  }
function file_body() {
    $lines = array();
    $lines['name'] =  $this->component_data['readable_name'];
    $lines['description'] =  $this->component_data['short_description'];

    if (!empty( $this->component_data['module_dependencies'])) {
      $lines['dependencies'] = implode(' ',  $this->component_data['module_dependencies']);
    }

    if (!empty( $this->component_data['module_package'])) {
      $lines['package'] =  $this->component_data['module_package'];
    }

    $info = $this->process_info_lines($lines);
    return $info;
  }
function file_body ( ) { $ lines = array ( ) ; $ lines [ 'name' ] = $ this -> component_data [ 'readable_name' ] ; $ lines [ 'description' ] = $ this -> component_data [ 'short_description' ] ; if ( ! empty ( $ this -> component_data [ 'module_dependencies' ] ) ) { $ lines [ 'dependencies' ] = implode ( ' ' , $ this -> component_data [ 'module_dependencies' ] ) ; } if ( ! empty ( $ this -> component_data [ 'module_package' ] ) ) { $ lines [ 'package' ] = $ this -> component_data [ 'module_package' ] ; } $ info = $ this -> process_info_lines ( $ lines ) ; return $ info ; }
Create lines of file body for Drupal 5.
Create lines of file body for Drupal 5 .