Changeset 10905 for trunk/tests/phpunit/assets/group-extensions.php
- Timestamp:
- 06/27/2016 03:07:47 AM (9 years ago)
- File:
-
- 1 edited
-
trunk/tests/phpunit/assets/group-extensions.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/assets/group-extensions.php
r9819 r10905 410 410 } 411 411 } 412 413 class BPTest_Group_Extension_Widget_Method extends BP_Group_Extension { 414 public function __construct() { 415 $class_name = get_class( $this ); 416 417 $args = array( 418 'name' => $class_name, 419 'slug' => sanitize_title( $class_name ), 420 ); 421 422 parent::init( $args ); 423 } 424 425 public function widget_display() { 426 echo 'Widget Displayed'; 427 } 428 }
Note: See TracChangeset
for help on using the changeset viewer.