/**
  * Get the AvailableAttributes form
  *
  * @param GroupInterface      $group
  * @param AvailableAttributes $availableAttributes
  *
  * @return \Symfony\Component\Form\Form
  */
 protected function getAvailableAttributesForm(GroupInterface $group, AvailableAttributes $availableAttributes)
 {
     return $this->formFactory->create('pim_available_attributes', $availableAttributes, ['excluded_attributes' => $this->groupAttrResolver->getNonEligibleAttributes($group)]);
 }
 /**
  * Get the AvailbleAttributes form
  *
  * @param GroupInterface $group
  *
  * @return \Symfony\Component\Form\Form
  */
 protected function getAvailableAttributesForm(GroupInterface $group)
 {
     return $this->createForm('pim_available_attributes', new AvailableAttributes(), ['excluded_attributes' => $this->groupAttrResolver->getNonEligibleAttributes($group)]);
 }