function CommentHelperCase::commentContactInfoAvailable
Check for contact info.
Return value
boolean Contact info is available.
2 calls to CommentHelperCase::commentContactInfoAvailable()
- CommentAnonymous::testAnonymous in drupal-7.x/
modules/ comment/ comment.test - Test anonymous comment functionality.
- CommentAnonymous::testAnonymous in drupal-7.x/
modules/ comment/ comment.test - Test anonymous comment functionality.
Archivo
- drupal-7.x/
modules/ comment/ comment.test, line 212 - Tests for comment.module.
Class
Código
function commentContactInfoAvailable() {
return preg_match('/(input).*?(name="name").*?(input).*?(name="mail").*?(input).*?(name="homepage")/s', $this->drupalGetContent());
}