Broken.php in View Mode Page 4.0.x
Same filename and directory in other branches
File
src/Plugin/view_mode_page/AliasType/Broken.phpView source
<?php
namespace Drupal\view_mode_page\Plugin\view_mode_page\AliasType;
/**
* Defines a fallback plugin for missing block plugins.
*
* @AliasType(
* id = "broken",
* label = @Translation("Broken"),
* admin_label = @Translation("Broken/Missing"),
* category = @Translation("AliasType"),
* )
*/
class Broken extends EntityAliasTypeBase {
/**
* {@inheritdoc}
*/
public function getLabel() {
return $this
->t('Broken type');
}
}