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

In D8, Workflows and appending States, Transitions are now Config entities.

This means:
- they are not stored anymore in regular 'workflow*' tables, but in EntityConfigStorage in table 'config';
- The $workflow->wid variable (a numeric) is removed, and replaced by the machine name $workflow->id();
- The D7machine_name $workflow->name (a string) is removed, and also replaced by the machine name $workflow->id();
- The human-readable label is now accessible via $workflow->getLabel();

Impacts: 
Module developers