/**
* The configuration factory.
*
- * @var \Drupal\Core\Config\ConfigFactoryInterface;
+ * @var \Drupal\Core\Config\ConfigFactoryInterface
*/
protected $configFactory;
// The entity id does not include the langcode.
$id_values = [];
foreach ($destination_identifier as $key => $value) {
- if ($this->isTranslationDestination() && $key == 'langcode') {
+ if ($this->isTranslationDestination() && $key === 'langcode') {
continue;
}
$id_values[] = $value;