mirror of
https://github.com/silverstripe/silverstripe-contentreview
synced 2024-10-22 17:05:47 +02:00
21 lines
491 B
PHP
21 lines
491 B
PHP
|
<?php
|
||
|
|
||
|
namespace SilverStripe\ContentReview\Extensions;
|
||
|
|
||
|
use SilverStripe\Admin\LeftAndMainExtension;
|
||
|
|
||
|
class ContentReviewLeftAndMainExtension extends LeftAndMainExtension
|
||
|
{
|
||
|
/**
|
||
|
* Append content review schema configuration
|
||
|
*
|
||
|
* @param array &$clientConfig
|
||
|
*/
|
||
|
public function updateClientConfig(&$clientConfig)
|
||
|
{
|
||
|
$clientConfig['form']['ReviewContentForm'] = [
|
||
|
'schemaUrl' => $this->owner->Link('schema/ReviewContentForm')
|
||
|
];
|
||
|
}
|
||
|
}
|