public function getDrupalText($name)
    {
        $text = $this->getDrupalParameter('text');
        if (!isset($text[$name])) {
            throw new \Exception(sprintf('No such Drupal string: %s', $name));
        }
        return $text[$name];
    }
public function getDrupalText($name)
    {
        $text = $this->getDrupalParameter('text');
        if (!isset($text[$name])) {
            throw new \Exception(sprintf('No such Drupal string: %s', $name));
        }
        return $text[$name];
    }
public function getDrupalText ( $ name ) { $ text = $ this -> getDrupalParameter ( 'text' ) ; if ( ! isset ( $ text [ $ name ] ) ) { throw new \ Exception ( sprintf ( 'No such Drupal string: %s' , $ name ) ) ; } return $ text [ $ name ] ; }
Returns a specific Drupal text value.

@param string $name
Text value name, such as 'log_out', which corresponds to the default
'Log out' link text.

@return string
The text value.

@throws \Exception
Thrown when the text is not present in the list of parameters.
Returns a specific Drupal text value .