Back to AssociationExtensionHelper class

Method getTypeInformation

private array
getTypeInformation
(mixed $typeName, mixed $part = 'support')
Get information about the type
Parameters
  • string $typeName The item type
  • string $part part of the information
Returns
  • array Array of support information
Since
  • 3.7.0

Method getTypeInformation - Source code

/**
 * Get information about the type
 *
 * @param   string  $typeName  The item type
 * @param   string  $part      part of the information
 *
 * @return  array Array of support information
 *
 * @since   3.7.0
 */
private function getTypeInformation($typeName, $part = 'support')
{
    $type = $this->getType($typeName);
    if (!\array_key_exists($part, $type)) {
        return array();
    }
    return $type[$part];
}