Commit 7edf8a6a authored by Kunal Sachdev's avatar Kunal Sachdev Committed by Adam G-H
Browse files

Issue #3271371 by kunal.sachdev, phenaproxima: Ensure new, changed or deleted...

Issue #3271371 by kunal.sachdev, phenaproxima: Ensure new, changed or deleted classes are in the correct state after an update
parent 139cc2bf
Loading
Loading
Loading
Loading
+17 −0
Original line number Diff line number Diff line
<?php

namespace Drupal\updated_module;

/**
 * This class will have a different value in updated_module 1.1.0.
 */
class ChangedClass {

  /**
   * The value.
   *
   * @var string
   */
  public static $value = 'Before Update';

}
+17 −0
Original line number Diff line number Diff line
<?php

namespace Drupal\updated_module;

/**
 * This class is removed from updated_module 1.1.0.
 */
class DeletedClass {

  /**
   * The value.
   *
   * @var string
   */
  public static $value = 'This class will be deleted';

}
+17 −0
Original line number Diff line number Diff line
<?php

namespace Drupal\updated_module;

/**
 * This class is loaded in updated_module 1.0.0 and removed in 1.1.0.
 */
class LoadedAndDeletedClass {

  /**
   * The value.
   *
   * @var string
   */
  public static $value = 'This class will be loaded and then deleted';

}
+17 −0
Original line number Diff line number Diff line
<?php

namespace Drupal\updated_module;

/**
 * This class only exists in updated_module 1.1.0.
 */
class AddedClass {

  /**
   * The value.
   *
   * @var string
   */
  public static $value = 'This class will be added';

}
+17 −0
Original line number Diff line number Diff line
<?php

namespace Drupal\updated_module;

/**
 * This class exists in updated_module 1.0.0, but with a different value.
 */
class ChangedClass {

  /**
   * The value.
   *
   * @var string
   */
  public static $value = 'After Update';

}
Loading