original_string: public static function get_form_field_from_label($label, RawMinkContext $context) {
  
          // There are moodle form elements that are not directly related with
          // a basic HTML form field, we should also take care of them.
          // The DOM node.
          $fieldnode = $context->find_field($label);
  
          // The behat field manager.
          return self::get_form_field($fieldnode, $context->getSession());
      }
code: public static function get_form_field_from_label($label, RawMinkContext $context) {
  
          // There are moodle form elements that are not directly related with
          // a basic HTML form field, we should also take care of them.
          // The DOM node.
          $fieldnode = $context->find_field($label);
  
          // The behat field manager.
          return self::get_form_field($fieldnode, $context->getSession());
      }
code_tokens: public static function get_form_field_from_label ( $ label , RawMinkContext $ context ) { // There are moodle form elements that are not directly related with // a basic HTML form field, we should also take care of them. // The DOM node. $ fieldnode = $ context -> find_field ( $ label ) ; // The behat field manager. return self :: get_form_field ( $ fieldnode , $ context -> getSession ( ) ) ; }
docstring: Gets an instance of the form field from it's label
  
  @param string $label
  @param RawMinkContext $context
  @return behat_form_field
docstring_tokens: Gets an instance of the form field from it s label