public function DataDefinition8b7c:f320:99b9:690f:4595:cd17:293a:c069isRequired public DataDefinition8b7c:f320:99b9:690f:4595:cd17:293a:c069isRequired() Determines whether a data value is required. For required data a non-NULL value is mandatory. Return value  bool Whether a data value is required. Overrides DataDefinitionInter8b7c:f320:99b9:690f:4595:cd17:293a:c069isRequired File
 core/lib/Drupal/Core/TypedData/DataDefinition.php, line 167  Class
 
DataDefinition  A typed data definition class for defining data based on defined data types.  Namespace Drupal\Core\TypedData Code public function isRequired() {
  return !empty($this->definition['required']);
}


    
{'path': 'public/docs/drupal~8/core-lib-drupal-core-typeddata-datadefinition.php/function/datadefinition-isrequired/8.1.x.html', 'source': 'DevDocs.IO'}