Change record status: 
Project: 
Introduced in branch: 
8.x
Description: 


This change record applies only from Drupal 8.x-dev to Drupal 8.x-dev. If you are looking for Drupal 7.x to 8.x change records you may safely skip it.

Data definitions for the properties of a field type are now declared in a static propertyDefinitions() method, instead of the non-static getPropertyDefinitions().

Example:

  /**
   * {@inheritdoc}
   */
  public static function propertyDefinitions(FieldStorageDefinitionInterface $field_definition) {
    $properties['value'] = DataDefinition::create('integer')
      ->setLabel(t('Integer value'));

    return $properties;
  }

Check the issue summary of #2002134: Move TypedData metadata introspection from data objects to definition objects for a complete list of API changes and further details.

Impacts: 
Module developers
Updates Done (doc team, etc.)
Online documentation: 
Not done
Theming guide: 
Not done
Module developer documentation: 
Not done
Examples project: 
Not done
Coder Review: 
Not done
Coder Upgrade: 
Not done
Other: 
Other updates done