public function DatabaseSchemaInterface::prepareComment in Schema 8
Prepare a table or column comment for database query.
Parameters
$comment: The comment string to prepare.
$length: Optional upper limit on the returned string length.
Return value
The prepared comment.
File
- src/
DatabaseSchemaInterface.php, line 366 - Contains Drupal\schema\DatabaseSchemaInterface.
Class
- DatabaseSchemaInterface
- This interface describes public methods of \Drupal\Core\Database\Schema.
Namespace
Drupal\schemaCode
public function prepareComment($comment, $length = NULL);