modules/jumpstart_ui/src/Plugin/Block/PageHeadingBlock.php
Method blockForm
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function blockForm($form, FormStateInterface $form_state) {
$form = parent::blockForm($form, $form_state);
$config = $this->getConfiguration();
$form['heading_text'] = [
syntax error, unexpected ','
Open
Open
id: "jumpstart_ui_page_heading",
- Exclude checks
Unused use statement Open
Open
use Drupal\Core\Block\Attribute\Block;
- Exclude checks
Line indented incorrectly; expected 0 spaces, found 2 Open
Open
id: "jumpstart_ui_page_heading",
- Exclude checks
Perl-style comments are not allowed; use "// Comment" instead Open
Open
#[Block(
- Exclude checks
Missing class doc comment Open
Open
class PageHeadingBlock extends BlockBase {
- Exclude checks