use yii\helpers\Html; /** * @var yii\web\View $this * @var = ltrim($generator->modelClass, '\\') ?> $model */ $this->title = 'Create = Inflector::camel2words(StringHelper::basename($generator->modelClass)) ?>'; $this->params['breadcrumbs'][] = ['label' => '= Inflector::pluralize(Inflector::camel2words(StringHelper::basename($generator->modelClass))) ?>', 'url' => ['index']]; $this->params['breadcrumbs'][] = $this->title; ?>