ModuleVersion::CORE_PREFIX

Same name in other branches
  1. 9 core/modules/update/src/ModuleVersion.php \Drupal\update\ModuleVersion::CORE_PREFIX

The '8.x-' prefix is used on contrib module version numbers.

File

core/modules/update/src/ModuleVersion.php, line 19

Class

ModuleVersion
Provides a module version value object.

Namespace

Drupal\update

Code

const CORE_PREFIX = '8.x-';

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.