Pushing overhaul.

This commit is contained in:
dan612
2025-12-06 16:34:43 -05:00
parent 09043d7884
commit 8cee39a6df
19 changed files with 34347 additions and 143 deletions

View File

@@ -0,0 +1,29 @@
<?php
namespace Drupal\dc_react\Plugin\Block;
use Drupal\Core\Block\BlockBase;
/**
* Provides a React app block.
*
* @Block(
* id = "react_block",
* admin_label = @Translation("React Block"),
* category = @Translation("React"),
* )
*/
class ReactBlock extends BlockBase {
/**
* {@inheritdoc}
*/
public function build() {
$build = [
'#theme' => 'react_block',
];
return $build;
}
}