@@ -9,13 +9,9 @@ |
||
| 9 | 9 | use Drupal\field\Entity\FieldStorageConfig; |
| 10 | 10 | use Drupal\language\Entity\ConfigurableLanguage; |
| 11 | 11 | use Drupal\mailsystem\MailsystemManager; |
| 12 | -use Drupal\node\Entity\Node; |
|
| 13 | 12 | use Drupal\node\NodeInterface; |
| 14 | 13 | use Drupal\Core\Entity\EntityInterface; |
| 15 | -use Drupal\taxonomy\Entity\Term; |
|
| 16 | -use Drupal\taxonomy\TermInterface; |
|
| 17 | 14 | use Symfony\Component\HttpFoundation\Request; |
| 18 | -use Drupal\Driver\Plugin\DriverFieldPluginManager; |
|
| 19 | 15 | use Drupal\Driver\Wrapper\Field\DriverFieldDrupal8; |
| 20 | 16 | use Drupal\Driver\Wrapper\Entity\DriverEntityDrupal8; |
| 21 | 17 | |
@@ -266,6 +266,7 @@ discard block |
||
| 266 | 266 | |
| 267 | 267 | /** |
| 268 | 268 | * {@inheritdoc} |
| 269 | + * @param string $entity_type |
|
| 269 | 270 | */ |
| 270 | 271 | protected function expandEntityFields($entity_type, \stdClass $entity, array $base_fields = array()) { |
| 271 | 272 | $field_types = $this->getEntityFieldTypes($entity_type, $base_fields); |
@@ -346,6 +347,7 @@ discard block |
||
| 346 | 347 | |
| 347 | 348 | /** |
| 348 | 349 | * {@inheritdoc} |
| 350 | + * @param string $entity_type |
|
| 349 | 351 | */ |
| 350 | 352 | public function isBaseField($entity_type, $field_name) { |
| 351 | 353 | $fields = \Drupal::entityManager()->getFieldStorageDefinitions($entity_type); |
@@ -175,7 +175,7 @@ discard block |
||
| 175 | 175 | /** |
| 176 | 176 | * Matches an identifer against a machine name exactly. |
| 177 | 177 | * |
| 178 | - * @param string $identifer |
|
| 178 | + * @param string $identifier |
|
| 179 | 179 | * The human-friendly name of the target. |
| 180 | 180 | * @param string $machineName |
| 181 | 181 | * The machine name of the candidate. |
@@ -193,7 +193,7 @@ discard block |
||
| 193 | 193 | /** |
| 194 | 194 | * Matches an identifer against a label exactly. |
| 195 | 195 | * |
| 196 | - * @param string $identifer |
|
| 196 | + * @param string $identifier |
|
| 197 | 197 | * The human-friendly name of the target. |
| 198 | 198 | * @param string $machineName |
| 199 | 199 | * The machine name of the candidate. |
@@ -211,7 +211,7 @@ discard block |
||
| 211 | 211 | /** |
| 212 | 212 | * Matches an identifer against a machine name removing the prefix. |
| 213 | 213 | * |
| 214 | - * @param string $identifer |
|
| 214 | + * @param string $identifier |
|
| 215 | 215 | * The human-friendly name of the target. |
| 216 | 216 | * @param string $machineName |
| 217 | 217 | * The machine name of the candidate. |
@@ -232,7 +232,7 @@ discard block |
||
| 232 | 232 | /** |
| 233 | 233 | * Matches an identifer against a machine name removing underscores from it. |
| 234 | 234 | * |
| 235 | - * @param string $identifer |
|
| 235 | + * @param string $identifier |
|
| 236 | 236 | * The human-friendly name of the target. |
| 237 | 237 | * @param string $machineName |
| 238 | 238 | * The machine name of the candidate. |
@@ -251,7 +251,7 @@ discard block |
||
| 251 | 251 | /** |
| 252 | 252 | * Matches an identifer against a machine name, removing prefix & underscores. |
| 253 | 253 | * |
| 254 | - * @param string $identifer |
|
| 254 | + * @param string $identifier |
|
| 255 | 255 | * The human-friendly name of the target. |
| 256 | 256 | * @param string $machineName |
| 257 | 257 | * The machine name of the candidate. |
@@ -2,7 +2,6 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Drupal\Driver\Wrapper\Entity; |
| 4 | 4 | |
| 5 | -use Drupal\Driver\Wrapper\Field\DriverFieldDrupal8; |
|
| 6 | 5 | use Drupal\Driver\Plugin\DriverPluginManagerInterface; |
| 7 | 6 | use Drupal\Driver\Plugin\DriverNameMatcher; |
| 8 | 7 | |
@@ -49,6 +49,9 @@ |
||
| 49 | 49 | */ |
| 50 | 50 | protected $version = 8; |
| 51 | 51 | |
| 52 | + /** |
|
| 53 | + * @param string $projectPluginRoot |
|
| 54 | + */ |
|
| 52 | 55 | public function __construct( |
| 53 | 56 | $rawValues, |
| 54 | 57 | $fieldName, |
@@ -2,7 +2,6 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Drupal\Driver\Wrapper\Field; |
| 4 | 4 | |
| 5 | -use Drupal\Driver\Plugin\DriverPluginManagerInterface; |
|
| 6 | 5 | use Drupal\Core\Config\Entity\ConfigEntityInterface; |
| 7 | 6 | use Drupal\Driver\Plugin\DriverNameMatcher; |
| 8 | 7 | |