mirror of
https://github.com/a2nt/cms-niceties.git
synced 2024-10-22 11:05:46 +02:00
FIX: Replace link field
This commit is contained in:
parent
eba6c75251
commit
7888abfe0d
@ -23,6 +23,7 @@
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"A2nt\\CMSNiceties\\": "src/"
|
||||
}
|
||||
},
|
||||
"exclude-from-classmap": ["vendor/dynamic/flexslider/src/Model/SlideImage.php"],
|
||||
}
|
||||
}
|
||||
|
13
src/ClassReplacement/EmbeddedObject.php
Normal file
13
src/ClassReplacement/EmbeddedObject.php
Normal file
@ -0,0 +1,13 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* Replace outdated class for Dynamic\FlexSlider\Model\SlideImage
|
||||
*/
|
||||
namespace Sheadawson\Linkable\Models;
|
||||
|
||||
use gorriecoe\Embed\Models\Embed;
|
||||
|
||||
class EmbeddedObject extends Embed
|
||||
{
|
||||
private static $table_name = 'EmbeddedObject';
|
||||
}
|
12
src/ClassReplacement/EmbeddedObjectField.php
Normal file
12
src/ClassReplacement/EmbeddedObjectField.php
Normal file
@ -0,0 +1,12 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* Replace outdated class for Dynamic\FlexSlider\Model\SlideImage
|
||||
*/
|
||||
namespace Sheadawson\Linkable\Forms;
|
||||
|
||||
use SilverShop\HasOneField\HasOneButtonField;
|
||||
|
||||
class EmbeddedObjectField extends HasOneButtonField
|
||||
{
|
||||
}
|
13
src/ClassReplacement/Link.php
Normal file
13
src/ClassReplacement/Link.php
Normal file
@ -0,0 +1,13 @@
|
||||
<?php
|
||||
|
||||
namespace Sheadawson\Linkable\Models;
|
||||
|
||||
/*
|
||||
* Replace outdated class for Dynamic\FlexSlider\Model\SlideImage
|
||||
*/
|
||||
|
||||
use gorriecoe\Link\Models\Link as ModelsLink;
|
||||
|
||||
class Link extends ModelsLink
|
||||
{
|
||||
}
|
Loading…
Reference in New Issue
Block a user