original_string: public static function get_definition_name($definition) {
          if ($definition instanceof cache_definition) {
              return $definition->get_name();
          }
          $identifier = 'cachedef_'.clean_param($definition['area'], PARAM_STRINGID);
          $component = $definition['component'];
          if ($component === 'core') {
              $component = 'cache';
          }
          return new lang_string($identifier, $component);
      }
code: public static function get_definition_name($definition) {
          if ($definition instanceof cache_definition) {
              return $definition->get_name();
          }
          $identifier = 'cachedef_'.clean_param($definition['area'], PARAM_STRINGID);
          $component = $definition['component'];
          if ($component === 'core') {
              $component = 'cache';
          }
          return new lang_string($identifier, $component);
      }
code_tokens: public static function get_definition_name ( $ definition ) { if ( $ definition instanceof cache_definition ) { return $ definition -> get_name ( ) ; } $ identifier = 'cachedef_' . clean_param ( $ definition [ 'area' ] , PARAM_STRINGID ) ; $ component = $ definition [ 'component' ] ; if ( $ component === 'core' ) { $ component = 'cache' ; } return new lang_string ( $ identifier , $ component ) ; }
docstring: Returns the translated name of the definition.
  
  @param cache_definition $definition
  @return lang_string
docstring_tokens: Returns the translated name of the definition .