/**
 * Returns an array of possible conditions for the component.
 *
 * @param   string  $extension  The component and section separated by ".".
 *
 * @return  array
 *
 * @since   4.0.0
 */
public static function getConditions(string $extension) : array
{
    return \defined('self::CONDITION_NAMES') ? self::CONDITION_NAMES : Workflow::CONDITION_NAMES;
}