Skip to content

Commit 4788f20

Browse files
committed
Add required stubs
1 parent eaf48f4 commit 4788f20

File tree

7 files changed

+57
-0
lines changed

7 files changed

+57
-0
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<?php
2+
3+
namespace Drupal\Component\Plugin;
4+
5+
interface DependentPluginInterface {
6+
7+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<?php
2+
3+
namespace Drupal\Component\Plugin;
4+
5+
interface DerivativeInspectionInterface {
6+
7+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<?php
2+
3+
namespace Drupal\Component\Plugin;
4+
5+
abstract class PluginBase implements PluginInspectionInterface, DerivativeInspectionInterface {
6+
7+
}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<?php
2+
3+
namespace Drupal\Core\Field;
4+
5+
use Drupal\Component\Plugin\DependentPluginInterface;
6+
use Drupal\Core\Plugin\PluginBase;
7+
8+
abstract class PluginSettingsBase extends PluginBase implements PluginSettingsInterface, DependentPluginInterface {
9+
10+
}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<?php
2+
3+
namespace Drupal\Core\Field;
4+
5+
use Drupal\Component\Plugin\PluginInspectionInterface;
6+
use Drupal\Core\Config\Entity\ThirdPartySettingsInterface;
7+
8+
interface PluginSettingsInterface extends PluginInspectionInterface, ThirdPartySettingsInterface {
9+
10+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<?php
2+
3+
namespace Drupal\Core\Plugin;
4+
5+
interface ContainerFactoryPluginInterface {
6+
7+
}
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<?php
2+
3+
namespace Drupal\Core\Plugin;
4+
5+
use Drupal\Component\Plugin\PluginBase as ComponentPluginBase;
6+
7+
abstract class PluginBase extends ComponentPluginBase {
8+
9+
}

0 commit comments

Comments
 (0)