Implements \Drupal\Core\TypedData\TypedDataInterface::getConstraints().
Overrides TypedDataInterface::getConstraints
public function getConstraints() {
// @todo: Implement by making entities proper typed data. See
// http://drupal.org/node/1868004.
return array();
}