library/Garp/Spawn/Behavior/Factory.php
public static function isI18nBehavior($name, $config, $inputs) {
        if ($name === 'Sluggable') {
            return self::_shouldSluggableBeSpawnedOnI18nModel($config, $inputs);
        }
        return true;
    }
public static function isI18nBehavior($name, $config, $inputs) {
        if ($name === 'Sluggable') {
            return self::_shouldSluggableBeSpawnedOnI18nModel($config, $inputs);
        }
        return true;
    }
public static function isI18nBehavior ( $ name , $ config , $ inputs ) { if ( $ name === 'Sluggable' ) { return self :: _shouldSluggableBeSpawnedOnI18nModel ( $ config , $ inputs ) ; } return true ; }
Check wether a behavior should be spawned on an i18n model.
This used to always be true, but could use better validation. For now we'll make do with
validation on the Sluggable behavior, that actually produces errors in some cases when
spawned on an i18n model erroneously.
Check wether a behavior should be spawned on an i18n model . This used to always be true but could use better validation . For now we ll make do with validation on the Sluggable behavior that actually produces errors in some cases when spawned on an i18n model erroneously .