TextCollector::collectFromCode
Extracts translatables from .php files.
Signature
public function collectFromCode(string
$content,
string
$module )
Parameters
$content
— string- The text content of a parsed template-file
$module
— string- Module's name or 'themes'
Returns
- array
- $entities An array of entities representing the extracted translation function calls in code