mirror of
https://github.com/processwire/processwire.git
synced 2025-08-09 16:26:59 +02:00
Update PagesVersions to force singular mode
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
/**
|
/**
|
||||||
* PagesVersions
|
* PagesVersions
|
||||||
*
|
*
|
||||||
* ProcessWire 3.x, Copyright 2023 by Ryan Cramer
|
* ProcessWire 3.x, Copyright 2024 by Ryan Cramer
|
||||||
* https://processwire.com
|
* https://processwire.com
|
||||||
*
|
*
|
||||||
* #pw-summary Provides a version control API for pages in ProcessWire.
|
* #pw-summary Provides a version control API for pages in ProcessWire.
|
||||||
@@ -60,6 +60,7 @@ class PagesVersions extends Wire implements Module {
|
|||||||
'version' => 2,
|
'version' => 2,
|
||||||
'icon' => self::iconName,
|
'icon' => self::iconName,
|
||||||
'autoload' => true,
|
'autoload' => true,
|
||||||
|
'singular' => true,
|
||||||
'author' => 'Ryan Cramer',
|
'author' => 'Ryan Cramer',
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user