You are here

public function SocialDrupalContext::iFillInCustomFieldsForThis in Open Social 8.7

Same name and namespace in other branches
  1. 8.9 tests/behat/features/bootstrap/SocialDrupalContext.php \Drupal\social\Behat\SocialDrupalContext::iFillInCustomFieldsForThis()
  2. 8.3 tests/behat/features/bootstrap/SocialDrupalContext.php \Drupal\social\Behat\SocialDrupalContext::iFillInCustomFieldsForThis()
  3. 8.4 tests/behat/features/bootstrap/SocialDrupalContext.php \Drupal\social\Behat\SocialDrupalContext::iFillInCustomFieldsForThis()
  4. 8.5 tests/behat/features/bootstrap/SocialDrupalContext.php \Drupal\social\Behat\SocialDrupalContext::iFillInCustomFieldsForThis()
  5. 8.6 tests/behat/features/bootstrap/SocialDrupalContext.php \Drupal\social\Behat\SocialDrupalContext::iFillInCustomFieldsForThis()
  6. 8.8 tests/behat/features/bootstrap/SocialDrupalContext.php \Drupal\social\Behat\SocialDrupalContext::iFillInCustomFieldsForThis()
  7. 10.3.x tests/behat/features/bootstrap/SocialDrupalContext.php \Drupal\social\Behat\SocialDrupalContext::iFillInCustomFieldsForThis()
  8. 10.0.x tests/behat/features/bootstrap/SocialDrupalContext.php \Drupal\social\Behat\SocialDrupalContext::iFillInCustomFieldsForThis()
  9. 10.1.x tests/behat/features/bootstrap/SocialDrupalContext.php \Drupal\social\Behat\SocialDrupalContext::iFillInCustomFieldsForThis()
  10. 10.2.x tests/behat/features/bootstrap/SocialDrupalContext.php \Drupal\social\Behat\SocialDrupalContext::iFillInCustomFieldsForThis()

Allow platforms that re-use the Open Social platform a chance to fill in custom form fields that are not present in the distribution but may lead to validation errors (e.g. because a field is required).

@When /^(?:|I )fill in the custom fields for this "([^"]*)"$/

File

tests/behat/features/bootstrap/SocialDrupalContext.php, line 310

Class

SocialDrupalContext
Provides pre-built step definitions for interacting with Open Social.

Namespace

Drupal\social\Behat

Code

public function iFillInCustomFieldsForThis($type) {

  // This method is intentionally left blank. Projects extending Open Social
  // are encouraged to overwrite this method and call the methods that are
  // needed to fill in custom required fields for the used type.
}