public function Identifier::contains in Markdown 8.2
Indicates whether the identifier contains a value.
Parameters
string $value: The value to check.
Return value
bool TRUE or FALSE
File
- src/
Annotation/ Identifier.php, line 145
Class
- Identifier
- Creates an identifier for use in annotation objects.
Namespace
Drupal\markdown\AnnotationCode
public function contains($value) {
return strpos($this->value, $value) !== FALSE;
}