/** * Updates placement for each attribute in a class instance * * @since 1.2.1 * @param eZContentClass $class class instance to update */ protected function adjustClassAttributesPlacement(eZContentClass $class) { $attributes = $class->fetchAttributes(); $class->adjustAttributePlacements($attributes); foreach ($attributes as $attribute) { $attribute->store(); } }