diff --git a/core/lib/Drupal.php b/core/lib/Drupal.php index 0d9ed96..2871b3e 100644 --- a/core/lib/Drupal.php +++ b/core/lib/Drupal.php @@ -77,6 +77,16 @@ class Drupal { /** + * The current system version. + */ + const VERSION = '8.0-dev'; + + /** + * Core API compatibility. + */ + const CORE_COMPATIBILITY = '8.x'; + + /** * The currently active container object. * * @var \Symfony\Component\DependencyInjection\ContainerInterface diff --git a/core/modules/views/lib/Drupal/views/Entity/View.php b/core/modules/views/lib/Drupal/views/Entity/View.php index e98ae01..82f93c4 100644 --- a/core/modules/views/lib/Drupal/views/Entity/View.php +++ b/core/modules/views/lib/Drupal/views/Entity/View.php @@ -79,7 +79,7 @@ class View extends ConfigEntityBase implements ViewStorageInterface { * * @var int */ - protected $core = DRUPAL_CORE_COMPATIBILITY; + protected $core = \Drupal::CORE_COMPATIBILITY; /** * Stores all display handlers of this view.