function CommentHelperCase::commentContactInfoAvailable

Check for contact info.

Return value

boolean Contact info is available.

1 call to CommentHelperCase::commentContactInfoAvailable()
CommentAnonymous::testAnonymous in drupal/modules/comment/comment.test
Test anonymous comment functionality.

File

drupal/modules/comment/comment.test, line 218
Tests for comment.module.

Class

CommentHelperCase
@file Tests for comment.module.

Code

function commentContactInfoAvailable() {
  return preg_match('/(input).*?(name="name").*?(input).*?(name="mail").*?(input).*?(name="homepage")/s', $this
    ->drupalGetContent());
}